CN202815813U - Device used for updating downhole instrument circuit board onboard central processing unit (CPU) program - Google Patents

Device used for updating downhole instrument circuit board onboard central processing unit (CPU) program Download PDF

Info

Publication number
CN202815813U
CN202815813U CN201220416182.7U CN201220416182U CN202815813U CN 202815813 U CN202815813 U CN 202815813U CN 201220416182 U CN201220416182 U CN 201220416182U CN 202815813 U CN202815813 U CN 202815813U
Authority
CN
China
Prior art keywords
program
circuit board
cpu
firmware loader
upgraded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CN201220416182.7U
Other languages
Chinese (zh)
Inventor
姜天杰
孙师贤
尚捷
陆庆超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Oilfield Services Ltd
China National Offshore Oil Corp CNOOC
Original Assignee
China Oilfield Services Ltd
China National Offshore Oil Corp CNOOC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Oilfield Services Ltd, China National Offshore Oil Corp CNOOC filed Critical China Oilfield Services Ltd
Priority to CN201220416182.7U priority Critical patent/CN202815813U/en
Application granted granted Critical
Publication of CN202815813U publication Critical patent/CN202815813U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The utility model discloses a device used for updating a downhole instrument circuit board onboard central processing unit (CPU) program. The device used for updating the downhole instrument circuit board onboard CPU program overcomes the defects that at present, when a downhole instrument circuit board onboard CPU program is updated, efficiency is low, cost is high and huge danger exists. The device comprises a program reader and a firmware loader. The program reader reads a hexadecimal (HEX) document compiled by an updating program, sends the packed HEX document to the firmware loader, and receives and analyzes a data package passed back from the firmware loader. The firmware loader unpacks the HEX document, repacks the document to form data frames, sends the data frames out from a bus, packages a data packet uploaded by the bus, and passes away the data packet to the program reader. According to the device used for updating the downhole instrument circuit board onboard CPU program, a downhole instrument is free of being transferred outside a well mouth to be disassembled and program updating operations of a functional circuit board which is embedded on the interior of the instrument can be directly conducted.

Description

A kind of downhole probe circuit board plate is carried the device that the CPU program is upgraded
Technical field
The utility model relates to and a kind of subsurface equipment circuit board plate is carried the device that the CPU program is upgraded.
Background technology
In the downhole probe of petroleum tool, the installation of the electronic circuit of measurement while-drilling instrument part mainly contains three kinds of structures.The first is that circuit part is encased in the circulating electron chamber, the inner fluid of crossing in electronics chamber, and the electronics chamber is tucked into bores very (perhaps urceolus) inside.The second is that instrument is whole to be become an entity and is tucked into and bores very (perhaps urceolus) inside, crosses fluid in the electronics chamber with between boring very.The third is to endure the space that wall is deducted the electronics chamber at brill, seals with cover plate, then boring connection line in the middle of each electronics chamber.No matter be which kind of structure, when needs upgraded the instrument internal circuit program, operation was all unusual loaded down with trivial details and difficult.
Whole can only be hung out well head and be transported to shackle on the assembling and disassembling stand with boring instrument string, split into single instrument, then skeleton being taken out and takes off from it circuit board in bore very carries out programming to the CPU program on the circuit board again and upgrades the manpower and materials that the consumption of hauling operation process need is a large amount of.After program updates is complete, again circuit board is installed back in skeleton and the urceolus.Because each program of upgrading the instrument internal circuit all is accompanied by complicated mechanical dismounting step, is very easy to have influence on the life-span of instrument internal connector.And some expensive plug coats when mounted silica gel and fixes, and the rear refitting of dismantling must more renew part, need to expend tens even hundreds of hour, caused huge waste.In addition, with boring instrument string all with battery, it is dangerous also to exist huge operation when operating personnel dismantle battery.
The utility model content
Technical problem to be solved in the utility model is to overcome at present downhole probe circuit board plate is carried CPU program inefficiency when upgrading, with high costs and exist the defective of great risk.
In order to solve the problems of the technologies described above, the utility model provides a kind of downhole probe circuit board plate has been carried the device that the CPU program is upgraded, and comprises program reader and firmware loader, wherein:
Described program reader reads the HEX file after the refresh routine compiling, and described firmware loader is issued in described HEX file packing, and receives and resolve the packet of described firmware loader passback;
Described firmware loader unpacks described HEX file, then is repackaged into Frame and sends from bus, and return to described program reader after the packet encapsulation that will upload by bus.
Preferably, described program reader is issued described firmware loader with described HEX file according to the RS485_MODBUS protocol packing.
Preferably, described firmware loader will be dressed up RS485_MODBUS protocol format data by the data envelope that described bus is uploaded and return to described program reader.
Preferably, described firmware loader sends described Frame from 1553 buses, and will return to by the packet encapsulation that described 1553 buses are uploaded described program reader.
Preferably, this device comprises:
Plate carries adapter, receives the described Frame that sends on the described bus, carries CPU with passing to described plate under the described Frame, and described plate is carried CPU sends on the described bus in the packing of the packet that needs during the refresh routine to upload.
Preferably, described plate carries and passes to described plate under the packet that adapter is packaged into described Frame internal integrated circuit (IIC) or universal asynchronous serial (UART) interface and carry CPU.
Preferably, this device comprises:
Compiler compiles the described HEX file of acquisition to described refresh routine.
Compared with prior art, embodiment of the present utility model is by utilizing existing tool interface system and bus structure, do not need instrument is left under order well head and dismantled instrument, just can directly carry out the program updates operation to the functional circuit plate that is nested in instrument internal, thereby convenience is upgraded to the function of instrument and is upgraded, improve operating efficiency, reduced operating cost, guaranteed operating personnel's safety.Embodiment of the present utility model can be in the laboratory or on-the-spot circuit board program in the downhole probe is directly upgraded.
Description of drawings
Fig. 1 be the utility model embodiment downhole probe circuit board plate is carried the organigram of the device that the CPU program upgrades.
Embodiment
Describe embodiment of the present utility model in detail below with reference to drawings and Examples, how the application technology means solve technical matters to the utility model whereby, and the implementation procedure of reaching technique effect can fully understand and implements according to this.Each feature among the utility model embodiment and the embodiment, mutually combining under the prerequisite of not conflicting mutually is all within protection domain of the present utility model.
As shown in Figure 1, the utility model embodiment's carries the device that the CPU program upgrades to downhole probe circuit board plate and mainly comprises program reader 10 and firmware loader 20.
Program reader 10 reads the HEX file after the refresh routine compiling, with the HEX file according to RS485_MODBUS agreement (a kind of industrial communication of RS485_MODBUS agreement and dcs agreement, released by Modicon) firmware loader 20 is issued in packing, and the packet of reception and 20 passbacks of parsing firmware loader.
Firmware loader 20 is protocol converters, RS485_MODBUS protocol format data are unpacked, then be repackaged into Frame and send from 1553 buses, and will dress up RS485_MODBUS protocol format data by the data envelope that 1553 buses are uploaded and return to program reader 10.
For the open CPU of boot loader (BOOTLOADER), can upgrade the program on the CPU by above-mentioned program reader 10 and firmware loader 20 and supporting circuit etc.
Solidified the CPU of BOOTLOADER for producer, embodiment of the present utility model comprises that also plate carries adapter 30, when its CPU on circuit board enters downloading mode, receive the Frame that sends on 1553 buses, the Frame that receives is packaged into passes to plate under the packet of internal integrated circuit (IIC) or universal asynchronous serial (UART) interface and carry CPU and upgrade; And plate is carried CPU send on 1553 buses in the packing of the packet that needs during the refresh routine to upload, be uploaded to firmware loader 20.
Embodiment of the present utility model also comprises compiler 40, links to each other with program reader 10, refresh routine is compiled obtain aforesaid HEX file.
Embodiment of the present utility model links the data communication interface on firmware loader and the subsurface equipment with stube cable in use, and firmware loader and the computer that is provided with the program reader are linked.Can finish after connection is finished subsurface equipment circuit board program is carried out online updating.Whole operating process is convenient, and is quick, safe and reliable, time saving and energy saving, only needs personnel easily to finish.
Embodiment of the present utility model can carry out programming operation, thereby is applicable to different subsurface equipment communication interfaces, multiple embedded type CPU commonly used is carried out online program updates operation, thereby its versatility is strengthened greatly.
Embodiment of the present utility model can carry out remote scene subsurface equipment function upgrading.Carried out the circuit board function upgrading of instrument when the laboratory after, can Fast synchronization the instrument of upgrading work on the spot, carry out function upgrading and need not again field instrumentation to be retracted research and development centre, and Effective Raise work efficiency.
Embodiment of the present utility model can be after circuit board package have arrived subsurface equipment inside the program of refresh circuit plate, thereby provide site environment the most true to nature in the development stage for the subsurface equipment debugging, improved instrument development efficient.
The use of embodiment of the present utility model does not need dismounting instrument itself, relatively prolongs the serviceable life of whole instrument internal connector, has not only saved the consumption of expensive connector, and has greatly promoted operating efficiency.
Utilize embodiment of the present utility model, can be directly carry out program updates operation by 1553 interfaces to instrument at instrument outside reading and writing data mouth, though whole process only need a few minutes or minute, just can upgrade the program of instrument at the scene.
Use embodiment of the present utility model and carry out program updates, do not need to dismantle instrument, thereby can not consume the parts on the instrument, also not needing to expend a large amount of manpower and materials dismantles instrument and re-mounts, efficient and convenient, efficient is high, does not have the operation danger such as battery explosion.
Although the disclosed embodiment of the utility model as above, the embodiment that described content only adopts for ease of understanding the utility model is not to limit the utility model.Those of skill in the art under any the utility model; under the prerequisite that does not break away from the disclosed spirit and scope of the utility model; can carry out any modification and variation in form and the details implemented; but scope of patent protection of the present utility model still must be as the criterion with the scope that appending claims was defined.

Claims (7)

1. one kind carries the device that the CPU program is upgraded to downhole probe circuit board plate, it is characterized in that, comprises program reader and firmware loader, wherein:
Described program reader reads the HEX file after the refresh routine compiling, and described firmware loader is issued in described HEX file packing, and receives and resolve the packet of described firmware loader passback;
Described firmware loader unpacks described HEX file, then is repackaged into Frame and sends from bus, and return to described program reader after the packet encapsulation that will upload by bus.
2. according to claim 1 downhole probe circuit board plate is carried the device that the CPU program is upgraded, it is characterized in that described program reader is issued described firmware loader with described HEX file according to the RS485_MODBUS protocol packing.
3. according to claim 2 downhole probe circuit board plate is carried the device that the CPU program is upgraded, it is characterized in that described firmware loader will be dressed up RS485_MODBUS protocol format data by the data envelope that described bus is uploaded and return to described program reader.
4. according to claim 1 downhole probe circuit board plate is carried the device that the CPU program is upgraded, it is characterized in that, described firmware loader sends described Frame from 1553 buses, and will return to by the packet encapsulation that described 1553 buses are uploaded described program reader.
5. according to claim 1 downhole probe circuit board plate is carried the device that the CPU program is upgraded, it is characterized in that this device comprises:
Plate carries adapter, receives the described Frame that sends on the described bus, carries CPU with passing to described plate under the described Frame, and described plate is carried CPU sends on the described bus in the packing of the packet that needs during the refresh routine to upload.
6. according to claim 5 downhole probe circuit board plate is carried the device that the CPU program is upgraded, it is characterized in that described plate carries to be passed to described plate under the packet that adapter is packaged into described Frame internal integrated circuit (IIC) or universal asynchronous serial (UART) interface and carry CPU.
7. according to claim 1 downhole probe circuit board plate is carried the device that the CPU program is upgraded, it is characterized in that this device comprises:
Compiler compiles the described HEX file of acquisition to described refresh routine.
CN201220416182.7U 2012-08-21 2012-08-21 Device used for updating downhole instrument circuit board onboard central processing unit (CPU) program Expired - Lifetime CN202815813U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201220416182.7U CN202815813U (en) 2012-08-21 2012-08-21 Device used for updating downhole instrument circuit board onboard central processing unit (CPU) program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201220416182.7U CN202815813U (en) 2012-08-21 2012-08-21 Device used for updating downhole instrument circuit board onboard central processing unit (CPU) program

Publications (1)

Publication Number Publication Date
CN202815813U true CN202815813U (en) 2013-03-20

Family

ID=47874662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201220416182.7U Expired - Lifetime CN202815813U (en) 2012-08-21 2012-08-21 Device used for updating downhole instrument circuit board onboard central processing unit (CPU) program

Country Status (1)

Country Link
CN (1) CN202815813U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461626A (en) * 2014-12-08 2015-03-25 江西洪都航空工业集团有限责任公司 Software loading method using 1553B bus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461626A (en) * 2014-12-08 2015-03-25 江西洪都航空工业集团有限责任公司 Software loading method using 1553B bus

Similar Documents

Publication Publication Date Title
CN202956753U (en) Programming device and programming system of flash memory chip in embedded system
CN203179327U (en) Integrated practical training platform for Internet of Things
CN102411363A (en) On-line monitoring system and monitoring method of running state of mine fan
CN104657142A (en) CCFD (China Computational Fluid Dynamics) system based on OSGi (Open Service Gateway Initiative) technology
CN102801818A (en) Universal sensor interface acquisition system based on ZigBee technology
CN202815813U (en) Device used for updating downhole instrument circuit board onboard central processing unit (CPU) program
CN106444498A (en) Flight control computer of CPU board card pluggable replacement
CN103760810A (en) Remote measuring terminal controller
CN205354324U (en) Pipeline and utility tunnel monitoring collector to sensor intelligent charging
CN105808215A (en) Graphical application system for multiple DSP (Digital Signal Processor) chips and application method thereof
CN103176815A (en) Sewing machine control method of carrying out software updating by utilizing external memory
CN102279736A (en) D2P-based RMS motor controller development system
CN103670459A (en) Hydraulic supporting column pressure real-time monitor for mining
CN203909545U (en) Remote telemetering terminal controller
CN105405280A (en) Realization method for debugging electric power acquisition terminal and obtaining meter reading information
CN108932125A (en) The control method of programmable logic controller (PLC)
CN109344022A (en) The multi-functional downloading debugging apparatus of one kind and adjustment method
CN204926481U (en) Data collection station based on thing networking
CN202306209U (en) Software updating system of hydraulic support controller
CN101989222B (en) Loongson simulator terminal
CN206975448U (en) A kind of security robot main control circuit system
CN103116414B (en) USB HID dummy keyboard communication interface in a kind of surveying instrument
CN208999506U (en) The easy detection instrument of the anti-overspeed protection device of elevator
CN103344320A (en) Vibration acceleration sensor signal conditioning device for mine
CN212460343U (en) Automatic tester for transformer substation measurement and control device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100010 Chaoyangmen North Street, Dongcheng District, Dongcheng District, Beijing

Co-patentee after: CHINA OILFIELD SERVICES Ltd.

Patentee after: CHINA NATIONAL OFFSHORE OIL Corp.

Address before: 100010 Chaoyangmen North Street, Dongcheng District, Dongcheng District, Beijing

Co-patentee before: CHINA OILFIELD SERVICES Ltd.

Patentee before: CHINA NATIONAL OFFSHORE OIL Corp.

CP01 Change in the name or title of a patent holder
CX01 Expiry of patent term

Granted publication date: 20130320

CX01 Expiry of patent term