37×86 CNC logging system

37 (86 CNC logging system Guo Maicheng, Xiong Xiaodong (Department of Computer Science, Jianghan Petroleum Institute, Jingzhou 434102, China) With the industrial control microcomputer as the core, the high-speed display recording peripherals as the basic composition, the transformation of the CLS3700 CNC measurement system into 3X86 CNC The system software is the numerical control software developed by BORLANDC++. The hardware components of the 3X86 digital measurement system and the main functions of the system software are introduced. The reasons affecting the real-time and speed of the measurement are analyzed and the solutions are proposed.

CNC measurement; real-time measurement; information processing; data processing CLS3700 logging system is a numerical control equipment imported from ATLAS logging company in the middle of the 1980s in China, and plays an important role in oil exploration and development in China. From the overall performance point of view, the CLS3700 logging system is ahead of all kinds of CNC logging equipment in China, but its mainframe and some peripherals have become quite backward. Therefore, the CLS3700 logging system is modified to be 37 (86 CNC logging system, making it It is necessary to expand or even upgrade the function. Since 1995, the transformation of the CLS3700 logging system in Liaohe Oilfield has been completed to complete the transformation of Daqing Oilfield. The hardware and software are quite perfect, and the logging effect reaches and partially exceeds the original logging system. Also on the expansion 1 system hard, modified parts 1.1 hardware transformation oscilloscope 82 (thermally modified CLS3700 CNC logging system hardware ideas: industrial control microcomputer system (586 host keyboard floppy drive hard drive, CRT display, etc.) and thermal drawing The printer replaces the 3782 computer case and general peripherals (hard disk drive, 2 tape drives, 2 CRT plotters, CRT monitors and teletypewriters) of the original CNC logging system, retaining the bus and dedicated peripherals; designing the bus emulation The card converts the microcomputer bus signal into a multi-channel bus signal corresponding to the original host and the peripheral corresponding to the bus emulation card. The host of the original CNC logging system still exists. For the high-speed A/D channel attached to the CLS3700's selection bus, an interface card is specially designed to be directly inserted into the I/O slot of the 586 microcomputer. 86 CNC logging system hardware The ISA/MUX bus converter is the bus emulation card. The original host's multi-channel bus is connected to the ISA/MUX bus converter. The software modification CLS3700 CNC logging system software is quite old and the operator is deeply inconvenient. However, it is a system software with high technical content and wide functions. The CLS3700 has been transformed into a 3X86 CNC logging system. Since the computer mainframes of these two systems are completely different, the hardware environment has changed greatly. Therefore, the CLS3700 The system software cannot be run directly on the 3X86 system and needs to be redesigned. The 3X 86 CNC logging system software adopts the combination of "simulation" and "redevelopment" design ideas for some software dealing with the 3752/3764 or downhole instruments. And special processing and data filtering part of the software, using "emulation"; and for the interface, data eight eight wiring control dual meter. <1 floppy drive I high-speed data acquisition card bus 58 host CR display 3X86 CNC logging system hardware structure keyboard for 2bMi196Ackd male UC1985 big a master's degree deputy Hh 1 computer application research and teaching work: http://ww.cnki. Net record, real-time acquisition of real-time control plotter drawing related software, completely adopt "re-development" 3X86 CNC logging system is divided into system diagnosis, instrument calibration, conventional logging, variable density logging, dip logging, recording Playback, service table and picture header 8 function software, each function software adopts modular programming method. The 8 function software calls are carried out by the main control program. The advantages of this program structure are: independent function and small influence on each other. It occupies precious memory resources and is easy to expand. It can improve the reliability of the system, and can also improve the logging software. The large aspects are composed of two parts, the function program and the service table part that specifies the specific operation. The program includes the common problems of various logging methods. The logging service table shows the characteristics of various logging tools, the type of instrument and the instrument string, and specifies the curve of the operation, control, recording and drawing of the logging program. 2, the area and proportion of the drawing and the filtering method of each curve. 2 Real-time logging program The real-time logging program is included in the conventional logging software, variable density logging software and dip logging software, and is used in the well site. The logging program is the core of the entire 3X 86 logging system software. The main functions are: 1 logging operation control; 2 logging records, logging log data on the disk in digital form and plotting on the thermal printer; 3 logging data, displayed in curved form on the CRT display On, as system monitoring; 4 to collect low-frequency analog logging data at a certain sampling rate; 5 data processing, such as filtering, depth alignment, special calculations, etc.

The real-time logging program is used together with the logging service table. The workflow is completed as shown in the program initialization: 1 Initializing the downhole instrument according to the characteristics and control commands of the various instruments provided in the service table; 2 Drawing the CRT according to the service table The instrument draws the definition of the curve, calculates the drawing scale of the CRT plotter and draws the scale ruler and the header information; 3 according to the definition of the record curve data according to the service table, organizes the file format header information of the data file to wait for the state waiting for the control command and When the interrupt signal arrives, when the interrupt signal comes, the program enters the interrupt handler. For the deep interrupt and sonic interrupt handlers, the flags to be sampled in real time and the assignment to the timing circuit are given. The loop waiting program determines to enter the real-time sampling processing program according to the value of the real-time sampling, and performs measurement and measurement value processing according to the command in the service table and the sampling sequence and parameter specification of the downhole instrument string (depth alignment processing filtering processing, special calculation processing) , real-time control analysis), after processing, enter the output processing program to record, plot and display the measured values. When there is a keyboard typing command in the loop waiting program, the real-time command processing program is entered, and the command analysis and processing are performed. In the real-time logging process, the factors affecting the real-time and speed of the logging have the following aspects: drawing output, CRT Curve display, disk recording, interrupt processing 2.1 Drawing output program drawing output Use the PRINTREXModel820 thermal printer drawing program recommended by China National Petroleum Corporation to draw logging curves in real-time logging, in order to improve drawing speed and ensure real-time logging Sex, the following measures can be taken: 1) The "ten 9" and "character dot matrix data that need to be used in the drawing process are initialized into the memory to form a small memory font to avoid the dot matrix from the hard disk font in the real-time drawing process. The data 2 is output to the drawing data of the thermal drawing printer, directly sent to the printer interface, and adopts the post-detection technology, that is, one batch of drawing data is outputted at a time, and the printer interface state is detected until the drawing data is required again. 3 The drawing curve is adopted by the Bresenham algorithm. Smoothing to make the drawn curve more The real-time logging CRT display program specific functions are as follows: 1 Generate a screen window format The screen window format consists of 4 parts: the status display area in the upper left corner, the real-time logging curve display area on the upper right, and the command input and display area in the lower left corner. The real-time logging data display area on the lower right consists of 2 the number of curves required by the logging service table, the horizontal scale of the coordinate position, and the log data. The log curve can be plotted on the screen in real time to display the specific status of the logging in real time. The specific values ​​collected by various downhole instruments, these values ​​correspond to the logging curve. 4 can respond to various commands in the logging process at any time. The commands are input by keyboard and displayed in the window format command area. 5 can respond at any time. Key freeze d2 key, page turn 3 key In the real-time logging CRT display program, the logging curve display speed is mainly affected by the screen scrolling of the curve display area. In order to improve the running speed of the CRT display program and the real-time logging, directly The CRT display buffer operates, and the in-frame assembly instruction is applied to the screen scroll display mode (in the T language command to increase the speed of the display curve).

2.3 disk recording program in the disk record affects the speed of the disk is mainly the disk start to find the data written in the cylinder and sector time program in order to not frequently write data to the disk to affect the real-time data collection, but not in the case of logging failure Lose data, open a file buffer in memory, temporarily store the data to be written to the disk in the file buffer, and store the file buffer when the file buffer is full. The size of the buffer is defined by two depth intervals during logging. The limit of the difference between the minimum time and the maximum of the processing time, display and plot time.

2.4 Interrupt Processing In the real-time logging process, deep interrupts, external timer interrupts, and sonic interrupts are required. These interrupts are related to input and output operations. These operations such as plotting, CRT display, and disk recording operations occur on the input and output buses. Contention will cause system instability, or even crash. In order to solve these problems, the following measures are taken: 1 drawing, CRT display disk recording operation is processed in time without interruption; 2 deep interrupt involving data acquisition And sonic interrupts are only marked in the interrupt handler, but in the main program in the order of priority; 3 all interrupt handlers only handle the simplest tasks, and the time of each interrupt is separated to avoid interruption Nested 3 application analysis sonic logging is to launch 4 sound waves logic between two adjacent depth interrupts, collecting the time sequence of acoustic wave time difference sound wave logic transmission and data acquisition processing, such as when the depth is interrupted, the deep interrupt handler is external The timer sets the time interval value of the sound wave logic to be transmitted according to the time interval value. When the logging speed is determined, it can be set to 100ms, 50ms, 30ms, and open external timing interrupt and sound wave interrupt. When the first external timing interrupt arrives, the first sound wave logic is transmitted. When the sound wave is interrupted, the sound wave full wave train is collected. Data, calculate the first acoustic time difference and then the second and third acoustic logic and processing. When the fourth external timing interrupt arrives, the fourth acoustic logic is transmitted, the external timing interrupt is turned off, and then the last acoustic acquisition value is processed. And perform the recording, drawing and display work, etc. When the fourth sound wave is interrupted, the last sonic full wave column value of the deep interrupt is collected, and the sound wave interrupt is turned off, waiting for the next deep interrupt to be explained, the drawing output program and The CRT display program is macroscopically drawing and displaying at the same time. Microscopically, the serial time-sharing operation process is as follows: 1 Check the plotter interface status, check whether data can be sent, and send data to the plotter when data is sent. Interface; 2 detects the status of the CRT interface, checks whether data can be sent, can send data to the CRT display buffer when sending data; 3 repeat 1 and 2 until

86 CNC logging system, after dozens of wells field test, obtained qualified logging data. The whole system is flexible and convenient to use, easy to expand, and stable and reliable. The successful development of the system has made a meaningful step for transforming a large number of CLS3700 CNC systems introduced in China. Its economic and social benefits are very high.

(Finish)

Rubber Roller Compound

Power Company uses a variety of special rubber compound produced in America and Germany. Using advanced technology for processing, processing, packaging of rubber. High quality Rubber Roller mixed rubber for cots manufacturers.


roller compound



Company Information

About us

    Jinan Power Rubber Roller Equipment Co., Ltd is a modern private enterprise embodying scientific research and production. It was set up in 1998, and now is the main base in our country for manufacturing rubber roller special machine.

    Power Company is a professional producer engaged in rubber roller manufacturing equipment, with a large production scale and strong technical force. The products we provide are: Rubber Roller Builder, Rubber Roller Grinding Machine, External Cylindrical Grinder, Emery Belt Precision Machine, Fully Automatic Measuring Instrument, Grinding Head and Fitting of Equipment. More than eight products have been awarded National or Shandong Provincial level product prizes and three scientific-research achievement prizes. In 2000, our products passed the inspection by CCIB Quality Certification Center in accordance with ISO 9001 standards. By using our equipment, you will increase processing efficiency, and raise product quality. Also it can bring much economical benefit.

    Power Company regards [customers first" as its principle and has been developing and producing satisfactory products for different types for customers. Janna Power Rubber Roller Equipment Co., Ltd sincerely welcomes friends at home and abroad to come here for business talks.


Rubber Roller Compound

Rubber Roller Compound,Roller Compound,Blend Rubber Compound,Rubber Compound For Roller

Jinan Power Rubber Roller Equipment Co., Ltd. , https://www.powerrubberroller.com