• Based on monolithic integrated circuit’s folding machine carton examination system’s design

    Abstract: The article introduced one kind based on the monolithic integrated circuit AT89C55 folding machine carton monitor control system. System’s hardware design including the level switch module, against moves the module, the warning engine off module, the communication module, the memory expansion module by mistake, the software design use μVision2 integrated development environment and WAVE6000. This system replaces the original PLC examination system. The system after the test, the movement is steady, the response is agile. Achieves the design requirements.
    Key word: AT89C55 examination    Folding machine

    First, introduction

    After the folding machine is one kind of India the equipment, it exchanges each very big printing paper suits usually binds, the people see frequently

    Paper’s size. Minute many type. It may the paper 60% discount, the 20% discount, ten 6 zhe, 30 2 zhe work as when the paper folding process, has the carton, the carton examination system automatically sends out the stopping signal and the alarm, and sends out the information to instruct the carton occurs position.

    At present, the domestic folding machine carton system’s design as the core controls primarily take PLC, the PLC control design is simple, stable reliable, but PLC has many deficiencies. Takes PLC the I/O mouth quantity to be excessively many, about 14 many. The PLC working each time scans each I/O mouth. Makes corresponding processing according to each I/O mouth’s change. Will take the I/O mouth to be excessively many will increase PLC the process time. Increases master control PLC the burden. Overseas like Japan is uses take the monolithic integrated circuit as the core carton observation system. The monolithic integrated circuit volume is small, the operating speed is high, has the rich each resources, can carry on is more complex the operation. The reliability meets the need basically.

    Second, system system design request

    The system uses in examining the folding machine paper’s running status, through RS485 and PLC communication, when machine operation, if examines the paper to pause in the machine, the system the output signal gives PLC immediately. System’s several input signal, is NPN, namely has when the signal is the 24v low level, does not have when the signal is the 24v high level. Including: From electro-optical switch’s signal impulse. Five electro-optic switching signal. The single sheet enters the paper button signal. Enters the paper button signal continuously. 24v direct-current power supply signal. Two spare input posts. The output signal includes: Breaks down when the output has the spot to become the close point the relay signal. 3 spare output terminals.

    Third, hardware design

    Figure 1 system design drawing

    This system uses AT89C55 to take the core controller, outside expands 4K RAM to save the 24C01 chip. This product is the original folding machine examination system turns to a new generation the product, therefore uses the original system’s communication pattern as far as possible. Uses the M75176 chip, uses 485 communication forms and the control demonstration folds printed book-sheets into pages the opportunity row state PLC to carry on the communication. The control output module is also the warning engine off module controls the 24v ohm dragon relay with AT89C55, outputs the 24v stopping signal to give master control PLC.

    1st, level switch electric circuit                                          

    On the folding machine altogether is equipped with 5 sensors to add on a clock signal, altogether has by 6 24v input signal. Inputs the desired signal is the 24v low level, when paper through sensor, the sensor gives a 24v low level. When does not have the paper through the sensor, the sensor gives the 24V high level. Therefore time normal work, the sensor outputs 24v the wide signal impulse. When has the carton, the sensor has output the 24v high level or the 24v low level. When card when sensor outputs the 24v low level. When card when two sensors outputs 24 high levels. Outputs a control signal to reserve two control wirings according to the factory request. Because the monolithic integrated circuit requests 5v the TTL level, must therefore design the corresponding level switch module. The input output uses the TLP521-4 light to separate 24v the level switch TTL level, otherwise or. Each input output line uses the light emitter diode instruction. AT89C55 is one of 51 series monolithic integrated circuits, the port1 mouth has pulls the resistance, therefore selects port1 to take the input port.

    2nd, against moves the module by mistake

    The black-white control end inputs the low level breakover coil, the relay operation engine off. When the folding machine works, when breaks down carton, the monolithic integrated circuit outputs the low level the pendulum relay control end, the coil circular telegram breakover, following the electricity switch motion. But when the folding machine starts works, the circuit design first to the monolithic integrated circuit power transmission then the pendulum relay power transmission, the black-white control end has the level fluctuation, causes the relay operation. This does not meet the production requirement. In order to eliminate the relay to move by mistake, has used the GAL16VB gate chip. GAL inputs 5 signals, logic represents 5 sensor’s conditions, 5 signal AND gate input. GAL chip output control relay. When has under a sensor to have the carton. Changes GAL correspondingly an input signal. GAL chip output change, if, again breakover relay engine off, because five sensor start position is invariable, therefore the relay cannot have the misoperation.

    Figure 2   Schematic diagram

     

    3rd, memory development module

    In actual production, machine possible temporary engine off. When next time machine starting, what moves is the identical batch of duty, this must use starts the time certain parameter variable. But monolithic integrated circuit’s RAM memory block after machine engine off power failure, in which data will lose completely. If places in ROM, the procedure size was already quick close AT89C55 the capacity, moreover the general variable does not deposit in ROM. In once the ROM data reads in the power failure not to change, generally stores the program data. But these parameter variable in work mission change time, its value will also have the change. This expands ROM,24C01 on the need outside is one kind of EEPROM chip, the power failure may also preserve the data, supports I2C. May scratch writes above 1,000,000 times, can preserve the data 40 years. 24C01 and at89C55 communication’s way uses the I2C pattern.

    Fourth, software design

     

    1st, software development environment

         The procedure uses C51. When starts the software simulation test, the C51 development kit is uses now most popular KEIL 51 and μVision2 the integrated development environment. KEIL 51 are the monolithic integrated circuit C language compilers which German KEIL Corporation develops, its predecessor was FRANKLIN C51, present’s newest edition V6 function was quite already good, after specially compatible ANSI C, increased many with the hardware close related translation characteristic, caused to be more convenient on 8051 series monolithic integrated circuit’s development application procedures and quickly. μVision2 is one kind of integrated document management translation environment, the translation environment uses KEIL 51, integrated file edit processing, the translation link, the project management, the window, the tool quotation and the software simulation debugging and so on many kinds of functions.

    When online debugging uses development kit WAVE which the great luck brings 6000. The source code copy to WAVE 6000, uses WAVE from development c compiler comp51, makes the corresponding modification. Carries on the online debugging. WAVE 6000 are the Nanjing great luck Industrial corporation develops. Support assembly language and C language, also has the formidable project management, the variable observation to gather the translation function.

    2nd, software design thought

         The software mainly uses the polling the method to examine whether carton. First carries on master control chip AT89C55 and the expansion memory chip 24C01 initialization. Master control chip AT89C55 including the Time way establishment, the interrupt enables and so on. Expansion memory chip 24C01 initialization including read-write subroutine compilation and so on. The single sheet walks when the paper records each kind of parameter including each paper through each sensor’s time is the pulse number, each paper the time which walks continually between each sensor. When continuously walks the paper, also records each paper these parameters, then uses the polling the method, walks when the paper to each paper’s parameter and the single sheet records the parameter carries on the comparison, if in permission scope, then the showing folding machine work is normal, otherwise sends out the warning stopping signal.

    Fifth, concluding remark

    This examination system raised folding machine’s automatic control level. This system after the scene experiment, movement stable reliable, has achieved the design requirements. At present this system has made the product to apply in the actual product. If improves software’s design mentality and the use with high speed MCU, will make the system to further optimize, achieves a better effect.

    Reference

    1 Hu Wei, Ji Xiaoheng, “Monolithic integrated circuit C Programming And Application Example”, people’s posts and telecommunications publishing house, 2003
    2 MITSUBISHI, FX COMMUNICATION (RS-232C, RS485)
    3 Zhang Renzhong, Teng Li is winsome, Han thunder, Wang Jianwei, PLC and monolithic integrated circuit’s communication way, application science and technology, 2001
    4 ask is the science and technology, “Monolithic integrated circuit Typical Module Design Strength Guidance”, people’s posts and telecommunications publishing house, 2004
    5 Hu Ganbin, Li Guangbin, Li Ling, Gan Xiying, “Monolithic Microcomputer Principle And Application”, Huazhong University of Science and Technology, 1997
    6 Ma Hongwen, with realizes based on at89C52 monolithic integrated circuit’s automatic deposit cabinet’s design, microcomputer information, in 2006 1-2 issues, P101-103

    Share/Save/Bookmark

    Monday, October 20th, 2008 at 23:44
No comments yet.

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
TOP
Copyright © 51 Research and Design, Electronic Engineers website - Embedded Systems, MCU, DSP, EDA, Test and Measurement, Components, Communications, Power, Microelectronics, Semiconductors
Powered by WordPress | Theme by mg12 | Valid XHTML 1.1 and CSS 3