| With the rapid development of China’s economy and society,the pace of urban modernization and the urbanization of townships has been accelerated,providing an increasingly comfortable and convenient living environment for the people,and at the same time producing a large amount of domestic waste.How to transport those garbage,is a urgent problem need to solve.Hook-lift garbage truck with the excellent performance,and easy to use,is an effective tool to solve the problem of garbage removal.But at present,our country only have 20 garbage truck production companies which form a large scale.At the same times the products of these enterprises are single and backward.Loading and unloading control system as the core of the hook-lift garbage truck,is dependent on imports for a long time.So in this paper,we chose hook-lift garbage truck’s loading and unloading control system as the research object,aims to development a excellent loading and unloading control system.Firstly,the paper puts forward a comparative study on the loading and unloading control system of the hook-lift garbage truck at home and abroad,and summarizes the shortcomings of the loading and unloading control system on the market.On this basis,the general control idea of this paper is determined.In this paper,we use the CAN bus in the loading and unloading control system,and through the CAN bus to receive vehicle controller instructions,at the same time according to all switch’s closed state to decision the output value.Through the output value control electromagnetic reversing valve commutation,to achieve the operation of the garbage truck and the orderly conversion.The control of the pulling arm mechanism is carried out by controlling its hydraulic system.Therefore,on the basis of the analysis of the force of the pulling arm mechanism,we designed the hydraulic system of the arm mechanism.In the hardware circuit design,we chose Freescale’s MC9S12G128 MLL microcontroller as a system processor,the microcontroller built-in MSCAN,AD conversion,PWM and other modules.This microcontroller is easy to use and have excellent performance.In addition to the minimum system circuit of the single chip microcomputer,we also desinged some functional module,such as the switch output module,the digital quantity acquisition module,the CAN communication module,the liquid crystal display module,the key module and the temperature acquisition module.And we also studied the anti-jamming measures of the system.In the preparation of system software,we used a modular design method.we prepared a switch output program,digital acquisition program,liquid crystal display program,CAN transceiver procedures,temperature acquisition procedures,key interrupt procedures.After the completion of the preparation process,we package those program into a form of function.And through the main function to call those function,we achieved the operation of the software system.Finally,this paper simulates the CAN communication between the vehicle controller and the loading and unloading control,simulates the input of the 6-bit proximity switch through the signal generator,and observes whether the output value of the switch meets the system setting.We also perform the temperature acquisition experiment,liquid crystal display experiment.Through the experiment,it is proved that the design of hook-lift garbage truck’s loading and unloading control system in this paper meets the expected requirements. |