CN103593037A - Geophysics instrument soft shutting method and system - Google Patents

Geophysics instrument soft shutting method and system Download PDF

Info

Publication number
CN103593037A
CN103593037A CN201310635090.7A CN201310635090A CN103593037A CN 103593037 A CN103593037 A CN 103593037A CN 201310635090 A CN201310635090 A CN 201310635090A CN 103593037 A CN103593037 A CN 103593037A
Authority
CN
China
Prior art keywords
module
instrument
central control
shutdown
control module
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.)
Granted
Application number
CN201310635090.7A
Other languages
Chinese (zh)
Other versions
CN103593037B (en
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.)
HUNAN QIANGJUN TECHNOLOGY Co Ltd
Original Assignee
HUNAN QIANGJUN TECHNOLOGY Co Ltd
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 HUNAN QIANGJUN TECHNOLOGY Co Ltd filed Critical HUNAN QIANGJUN TECHNOLOGY Co Ltd
Priority to CN201310635090.7A priority Critical patent/CN103593037B/en
Publication of CN103593037A publication Critical patent/CN103593037A/en
Application granted granted Critical
Publication of CN103593037B publication Critical patent/CN103593037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The invention provides a geophysics instrument soft shutting method and system. The method includes the following steps that in the time of shutting, a center control module of a geophysics instrument receives a shutting instruction of a power supply button and then sends the shutting instruction to an instrument working module; after the instrument working module receives the shutting instruction, data are stored, software programs which operate in the instrument working module are shut down and a shutting preparation finishing signal is sent to the center control module of the geophysics instrument; after the center control module of the geophysics instrument receives the shutting preparation finishing signal, a controllable power module is shut down and the instrument is shut down. According to the geophysics instrument soft shutting method and system, the geophysics instrument can be simply, conveniently and rapidly shut down and the data can be normally stored.

Description

A kind of method and system of geophysical instrument soft-off
Technical field
The present invention relates to electronic technology, be specifically related to a kind of method and system of geophysical instrument soft-off.
Background technology
Geophysical instrument is called again geophysical instrument, is for observing and record the physical testing instrument of various geophysical field distribution and variation.Its function is by the various feeble signals of geophysical field, demonstrates decipherable various numeral and curve, for the use of explanation after amplifying processing.Progress along with technology, the geophysical instrument that comprises electromagnetic method instrument, etc. has all obtained significant progress, and along with portable, miniaturization, low-power consumption, requirement cheaply, some geophysical instrument data acquisition modules have adopted the processor with operating system, but these instrument shutdown still adopt the mode of direct power-off, be difficult to make system successfully to close corresponding program, and there is no the time of save data.
Chinese patent literature storehouse has been announced a key name and has been called the application for a patent for invention technology that mono-kind of < < realizes circuit and the control method > > (number of patent application 201110184158.5) thereof of soft power off of computer, this application for a patent for invention technology discloses a kind of circuit and control method thereof that realizes soft power off of computer, by double-pole single-throw (D.P.S.T.) reset switch is set, and one group of contact andlogic control circuit of described double-pole single-throw (D.P.S.T.) reset switch connects; After another group contact is in parallel with relay, one end in parallel is connected with AT power supply, thereby can realize by the connection of logic control circuit pilot relay soft-off function, and by logic control circuit pilot relay, disconnect the disconnection completely that realizes circuit, to meet the use occasion that safety requirements is higher.
This method can realize the operations such as soft-off, but cannot reduce volume and the power consumption of instrument, cannot meet the demand of the simple and efficient soft-off of field geophysical instrument.
Summary of the invention
(1) technical matters solving
For the deficiencies in the prior art, the invention provides a kind of method and system of geophysical instrument soft-off, can realize the simple and efficient shutdown of geophysics physical apparatus normal save data.
(2) technical scheme
In order to realize above object, the present invention is achieved by the following technical programs:
A method for geophysical instrument soft-off, the method comprises:
Geophysical instrument Central Control Module receives after the shutdown indication of power knob, sends shutdown command to instrument operational module;
Instrument operational module receives after shutdown command, and save data is closed its inner software program, then the ready signal of shutdown is issued to geophysical instrument Central Control Module;
Geophysical instrument Central Control Module receives after the ready signal of shutdown, closes controllable electric power module, completes shutdown.
Wherein, the shutdown indication that described geophysical instrument Central Control Module receives power knob comprises: the complex programmable logic device (CPLD) of geophysical instrument Central Control Module detects the pulse of power knob input.
Wherein, CPLD in geophysical instrument Central Control Module arranges a register, register is connected with controllable electric power module, and register can control the unlatching of power module or cut out, described geophysical instrument Central Control Module is closed controllable electric power module, comprising: the value by CPLD register is set to predetermined value and closes controllable electric power module.
Preferably, after described geophysical instrument Central Control Module transmission shutdown command is to instrument operational module, further comprise:
Described geophysical instrument Central Control Module starts the timer that CPLD arranges, and when timer surpasses the time of setting, judges that instrument operational module crashes, and CPLD directly changes the value of register and closes controllable electric power module, completes shutdown.
A system for geophysical instrument soft-off, is characterized in that, comprising: power knob, geophysical instrument Central Control Module, controllable electric power module and instrument operational module, wherein:
Power knob, for sending shutdown indication to geophysical instrument Central Control Module;
Geophysical instrument Central Control Module, for indicating to send shutdown command to instrument operational module according to the shutdown that receives power knob, and closes controllable electric power module after receiving the ready signal of shutdown that instrument operational module sends;
Controllable electric power module, for being controlled by geophysical instrument Central Control Module, stops, to the power supply of instrument operational module, completing shutdown;
Instrument operational module, for receiving after the shutdown command of geophysical instrument Central Control Module, save data, closes inner software program, and the ready signal of shutdown is sent to geophysical instrument Central Control Module.
Wherein, described geophysical instrument Central Control Module comprises CPLD, when CPLD detects the shutdown pulse of power knob input, sends shutdown command to instrument operational module.
Wherein, described geophysical instrument Central Control Module comprises CPLD, and CPLD comprises a register, for the value of register, is set to predetermined value and closes controllable electric power module.
Wherein, described geophysical instrument Central Control Module further comprises the timer that limits the unused time.
Wherein, described controllable electric power module has a pin being connected with register, for the predetermined value of receiving register, closes controllable electric power module.
Wherein, described instrument operational module comprises microprocessor (ARM) or digital signal processor (DSP).
(3) beneficial effect
The present invention at least has following beneficial effect:
1, when geophysical instrument Central Control Module receives shutdown indication, be not directly to close controllable electric power module, but shutdown command is sent to instrument operational module, instrument operational module is closed the in house software program of moving, keep after data, again the ready signal of shutdown is issued to geophysical instrument Central Control Module, geophysical instrument Central Control Module just can be closed controllable electric power module, thereby guaranteed when shutdown, instrument operational module has time enough to go to close the program of operation, save data.
2, in the present invention, the shutdown indication of power knob is that the form with pulse sends to geophysical instrument Central Control Module, CPLD in geophysical instrument Central Control Module detects after this pulse, take corresponding shutdown to process, make shutdown process controlled, more intelligent, rather than the same with traditional geophysical instrument, direct power-off shutdown.
3, in the present invention, geophysical instrument Central Control Module is closed controllable electric power module, is, by CPLD, a register is set, and makes its all positions all be set to close the value of controllable electric power module.Therefore, guaranteed the controllability of power module.
4, in the present invention, the way of timer is also set by CPLD, the time of restriction shutdown, thereby after preventing that instrument operational module from crashing, the phenomenon that generation cannot be shut down.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these figure other accompanying drawing.
Accompanying drawing 1 is in one embodiment of the invention, geophysical instrument to be carried out the process flow diagram of soft-off;
Fig. 2 carries out the process flow diagram of soft-off to geophysical instrument in a preferred embodiment of the present invention;
Fig. 3 carries out the system of soft-off to geophysical instrument in one embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Referring to Fig. 1, the embodiment of the present invention provides a kind of method of geophysical instrument soft-off, comprises the steps:
Step 101: geophysical instrument Central Control Module receives the shutdown indication of power knob.
Step 102: geophysical instrument Central Control Module sends to instrument operational module by shutdown command.
Step 103: instrument operational module receives after shutdown command, keeps data, closes after inner software program, and the ready signal of shutdown is sent to geophysical instrument Central Control Module.
Step 104: geophysical instrument Central Control Module receives after the ready signal of shutdown, closes controllable electric power module, shuts down complete.
Visible, in embodiments of the present invention, when geophysical instrument Central Control Module receives shutdown indication, be not directly to close controllable electric power module, but shutdown command is sent to instrument operational module, instrument operational module is closed the in house software program of moving, keep after data, again the ready signal of shutdown is issued to geophysical instrument Central Control Module, geophysical instrument Central Control Module just can be closed controllable electric power module, thereby guaranteed when shutdown, instrument operational module has time enough to go to close the program of operation, save data.
In embodiments of the present invention, the shutdown indication of power knob is all that the form with pulse sends to geophysical instrument Central Control Module, CPLD in geophysical instrument Central Control Module detects after this pulse, take corresponding shutdown to process, make shutdown process more intelligent, rather than the same with traditional geophysical instrument, direct power-off shutdown.
In embodiments of the present invention, geophysical instrument Central Control Module is closed controllable electric power module, is, by CPLD, a register is set, and makes its all positions all be set to close the value of controllable electric power module.Therefore, guaranteed the controllability of power module.
In other embodiments of the invention, the way of timer is also set by CPLD, the time of restriction shutdown, thereby after preventing that instrument operational module from crashing, the phenomenon that generation cannot be shut down.
Below, by a concrete example, carry out the implementation procedure of more detailed explanation a preferred embodiment of the present invention.Referring to Fig. 2, this process comprises the steps:
Step 201: the CPLD in geophysical instrument Central Control Module arranges enough wide registers of a units, the value that the initialization value making is powered-down.
In this step, the bit wide of the register arranging in CPLD equals the quantity of its power supply that need to control, and controlled power module can comprise a plurality of power supplys, and a power supply of each control of register.Therefore, the bit wide of register A can be set as required.
Step 202: during shutdown, click power knob.
Step 203: the CPLD in geophysical instrument receives after shutdown indication, and shutdown command is issued to instrument operational module.
In this step, CPLD issues shutdown command after instrument operational module, and its inner timer arranging starts timing, limits the unused time.
Step 204: instrument operational module receives after shutdown command, closes inner software program, keeps data, and the ready signal feedback of then shutting down is to CPLD.
In this step, shutdown command is DSP or the arm processor that sends to instrument operational module, then by DSP or arm processor, keeps data, closes in house software program, and the ready signal of shutdown is sent to CPLD.
Step 205:CPLD judges whether to receive the ready signal of shutdown, if so, performs step 207, otherwise, perform step 206.
In this step, work as timer expiry, CPLD does not receive the ready signal of shutdown in limiting time, carries out 206.
Step 206: for the instrument operational module that does not return to the ready signal of shutdown, judge that this instrument operational module crashes, and then directly performs step 207.
Step 207:CPLD register is set to predetermined value, closes the output of controllable electric power module, shuts down complete.
In this step, set register in CPLD, is connected by controlling pin with switch of the power supply module, directly controls the unlatching of controllable electric power module or closes.Therefore, each controllable electric power module must have the pin that can control power switch, to realize the controllability of power supply.
Another embodiment of the present invention has also proposed a kind of system of geophysical instrument soft-off, and referring to Fig. 3, this system comprises power knob, geophysical instrument Central Control Module, and controllable electric power module and instrument operational module, wherein:
Power knob, sends shutdown indication to geophysical instrument Central Control Module;
Geophysical instrument Central Control Module, indicates to send shutdown command to instrument operational module according to the shutdown that receives power knob, and closes controllable electric power module after receiving the ready signal of shutdown that instrument operational module sends;
Controllable electric power module, stops after closing, to the power supply of instrument operational module, making the shutdown of instrument operational module;
Instrument operational module, receives after the shutdown command of geophysical instrument Central Control Module, closes inner software program, save data, and the ready signal of shutdown is sent to geophysical instrument Central Control Module.
Described geophysical instrument Central Control Module comprises CPLD, when CPLD detects the shutdown pulse of power knob input, sends shutdown command to instrument operational module.
Described geophysical instrument Central Control Module comprises CPLD, and CPLD comprises a register, for the value of register, is set to predetermined value and closes controllable electric power module.Described geophysical instrument Central Control Module further comprises the timer that limits the unused time.
Power supply in described controllable electric power module has a pin being connected with register, for the predetermined value of receiving register, closes controllable electric power module.Controllable electric power module can comprise a plurality of power supplys, and the bit wide of the register arranging in CPLD is identical with the quantity of power supply in controllable electric power module, and a power supply of each control of register.
Described instrument operational module comprises microprocessor (ARM) or digital signal processor (DSP).
Above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that; Its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a method for geophysical instrument soft-off, is characterized in that, the method comprises:
Geophysical instrument Central Control Module receives after the shutdown indication of power knob, sends shutdown command to instrument operational module;
Instrument operational module receives after shutdown command, and save data is closed its inner software program, then the ready signal of shutdown is issued to geophysical instrument Central Control Module;
Geophysical instrument Central Control Module receives after the ready signal of shutdown, closes controllable electric power module, completes shutdown.
2. method according to claim 1, it is characterized in that, the shutdown indication that described geophysical instrument Central Control Module receives power knob comprises: the complex programmable logic device (CPLD) of geophysical instrument Central Control Module detects the pulse of power knob input.
3. method according to claim 1, it is characterized in that, CPLD in geophysical instrument Central Control Module arranges a register, register is connected with controllable electric power module, and register can control the unlatching of power module or cut out, described geophysical instrument Central Control Module is closed controllable electric power module, comprising: the value by CPLD register is set to predetermined value and closes controllable electric power module.
4. according to claim 1 described method, it is characterized in that, described geophysical instrument Central Control Module send shutdown command to instrument operational module after, further comprise:
Described geophysical instrument Central Control Module starts the timer that CPLD arranges, and when timer surpasses the time of setting, judges that instrument operational module crashes, and CPLD directly changes the value of register and closes controllable electric power module, completes shutdown.
5. a system for geophysical instrument soft-off, is characterized in that, comprising: power knob, geophysical instrument Central Control Module, controllable electric power module and instrument operational module, wherein:
Power knob, for sending shutdown indication to geophysical instrument Central Control Module;
Geophysical instrument Central Control Module, for indicating to send shutdown command to instrument operational module according to the shutdown that receives power knob, and closes controllable electric power module after receiving the ready signal of shutdown that instrument operational module sends;
Controllable electric power module, for being controlled by geophysical instrument Central Control Module, stops, to the power supply of instrument operational module, completing shutdown;
Instrument operational module, for receiving after the shutdown command of geophysical instrument Central Control Module, save data, closes inner software program, and the ready signal of shutdown is sent to geophysical instrument Central Control Module.
6. system according to claim 5, is characterized in that,
Described geophysical instrument Central Control Module comprises CPLD, when CPLD detects the shutdown pulse of power knob input, sends shutdown command to instrument operational module.
7. system according to claim 5, is characterized in that,
Described geophysical instrument Central Control Module comprises CPLD, and CPLD comprises a register, for the value of register, is set to predetermined value and closes controllable electric power module.
8. system according to claim 5, is characterized in that,
Described geophysical instrument Central Control Module further comprises the timer that limits the unused time.
9. system according to claim 7, is characterized in that,
Described controllable electric power module has a pin being connected with register, for the predetermined value of receiving register, closes controllable electric power module.
10. system according to claim 5, is characterized in that,
Described instrument operational module comprises microprocessor (ARM) or digital signal processor (DSP).
CN201310635090.7A 2013-11-29 2013-11-29 A kind of method and system of geophysical instrument soft-off Active CN103593037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310635090.7A CN103593037B (en) 2013-11-29 2013-11-29 A kind of method and system of geophysical instrument soft-off

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310635090.7A CN103593037B (en) 2013-11-29 2013-11-29 A kind of method and system of geophysical instrument soft-off

Publications (2)

Publication Number Publication Date
CN103593037A true CN103593037A (en) 2014-02-19
CN103593037B CN103593037B (en) 2016-08-17

Family

ID=50083223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310635090.7A Active CN103593037B (en) 2013-11-29 2013-11-29 A kind of method and system of geophysical instrument soft-off

Country Status (1)

Country Link
CN (1) CN103593037B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109669728A (en) * 2018-12-14 2019-04-23 深圳市中科亿信技术有限公司 The software closedown method and device of vxworks operating system
CN111522427A (en) * 2020-04-24 2020-08-11 上海航天计算机技术研究所 Power supply control method of high-power-consumption satellite-borne storage system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558527A (en) * 2004-01-15 2004-12-29 汕头高新区和川企业有限公司 Intelligent computer power supply
CN101093457A (en) * 2007-07-12 2007-12-26 华为技术有限公司 A single board, and system and method for turning off power supply of the single board
CN101299678A (en) * 2008-07-03 2008-11-05 杭州华三通信技术有限公司 Method and system for implementing electrification of interface plate in open application structure
CN102221867A (en) * 2011-07-01 2011-10-19 南京莱斯信息技术股份有限公司 Circuit for realizing computer soft off and control method thereof
CN102467211A (en) * 2010-11-12 2012-05-23 鸿富锦精密工业(深圳)有限公司 Electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1558527A (en) * 2004-01-15 2004-12-29 汕头高新区和川企业有限公司 Intelligent computer power supply
CN101093457A (en) * 2007-07-12 2007-12-26 华为技术有限公司 A single board, and system and method for turning off power supply of the single board
CN101299678A (en) * 2008-07-03 2008-11-05 杭州华三通信技术有限公司 Method and system for implementing electrification of interface plate in open application structure
CN102467211A (en) * 2010-11-12 2012-05-23 鸿富锦精密工业(深圳)有限公司 Electronic device
CN102221867A (en) * 2011-07-01 2011-10-19 南京莱斯信息技术股份有限公司 Circuit for realizing computer soft off and control method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109669728A (en) * 2018-12-14 2019-04-23 深圳市中科亿信技术有限公司 The software closedown method and device of vxworks operating system
CN109669728B (en) * 2018-12-14 2022-04-05 深圳市中科亿信技术有限公司 Software shutdown method and device for VxWorks operating system
CN111522427A (en) * 2020-04-24 2020-08-11 上海航天计算机技术研究所 Power supply control method of high-power-consumption satellite-borne storage system

Also Published As

Publication number Publication date
CN103593037B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
US7987389B2 (en) System and method for testing sleep and wake functions of computer
TWI516959B (en) A method and device for debugging Godson CPU and north and south bridge wafers
US20120297217A1 (en) Power controller, power controlling device and power-saving method for power controlling device
CN102565671B (en) Dynamic allocation method for on-line programming of integrated circuit tester
WO2006075250A3 (en) Apparatus and methods for power management of a circuit module
CN103838349A (en) Power supply control system and method thereof
US20130046502A1 (en) Motherboard test device
TWI475364B (en) Computer apparatus and resetting method for real time clock thereof
CN103913699A (en) Circuit, system and method for testing main board keyboard interface
CN105183509A (en) Apparatus and method for realizing shutdown of system power after soft-off
CN103680114A (en) Startup and shutdown system employing remote infrared control and computer
CN203786262U (en) Mainboard keyboard interface test circuit and system
CN103593037A (en) Geophysics instrument soft shutting method and system
CN108509374A (en) A method of realizing the configuration of Shen prestige notebook display chip
CN102221867B (en) Circuit for realizing computer soft off and control method thereof
CN105468549A (en) Chip device and electronic system thereof
CN102681872A (en) Automatic cold boot method of notebook computer
CN203520299U (en) Timer-power-on control circuit
CN203151453U (en) Power-down monitoring reset circuit for field programmable gate array device
CN202210352U (en) Remote controller and testing device thereof
CN105260212B (en) Breaker controller and its method for upgrading software, a kind of breaker
CN104965759A (en) Method for controlling terminal and terminal
CN101477742B (en) Uniform closedown device for computer room and controlling method thereof
CN109144576A (en) Hot plug control method based on Android platform
CN103983864A (en) Device used for graphic-card testing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant