CN106291438B - Abnormal shutdown processing method and processing device and electric energy measuring equipment equipped therewith - Google Patents
Abnormal shutdown processing method and processing device and electric energy measuring equipment equipped therewith Download PDFInfo
- Publication number
- CN106291438B CN106291438B CN201510312552.0A CN201510312552A CN106291438B CN 106291438 B CN106291438 B CN 106291438B CN 201510312552 A CN201510312552 A CN 201510312552A CN 106291438 B CN106291438 B CN 106291438B
- Authority
- CN
- China
- Prior art keywords
- pin
- door
- unit
- control circuit
- capacitor
- 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 - Fee Related
Links
Landscapes
- Remote Monitoring And Control Of Power-Distribution Networks (AREA)
Abstract
The invention discloses a kind of abnormal shutdown processing method and processing device and electric energy measuring equipments equipped therewith.Present invention processing method of shutting down extremely includes the following steps: S1, under open state, monitoring component each under it is detected in the level state of fault processing module input terminal by fault detection module, when judging that abnormal shutdown occurs at least one monitoring component according to level state testing result, switch key enable signal is sent to fault processing module;When S2, fault processing module receive switch key enable signal and switch key pressing signal, it is turned back on by the monitoring component that monitoring component switching on and shutting down control circuit corresponding under it control is shut down extremely, while maintaining the open state of other monitoring components constant;S3, the abnormal shutdown reason that the monitoring component to shut down extremely is obtained from system log, decide whether to synchronize all monitoring components for restarting electric energy measuring equipment according to the abnormal shutdown reason of the monitoring component to shut down extremely.
Description
Technical field
The present invention relates to power-off protection technical field, more specifically to a kind of abnormal shutdown processing method and processing device,
And electric energy measuring equipment equipped therewith.
Background technique
In power industry, electric energy measuring equipment generally includes power supply, control switch, electrical energy data acquiring unit,
One gateway unit (outer net), the second gateway unit (Intranet) and communication unit.Currently, it is same to generally use single switch in the industry
Step controls the switching on and shutting down control program of aforementioned four unit switch machine, and the disadvantage of this kind of switching on and shutting down control program is: working as electric energy
There is abnormal shutdown in the unit of measuring equipment, and when other units are still in normal boot-strap state, the work of each unit
State is inconsistent, and after lower switch, the unit to shut down extremely is turned back on, and is in the unit of normal boot-strap state then originally
" being forced " shutdown, the working condition of each unit forever can not be harmonious, can not work at the same time.In response to this, uniquely
Solution be exactly: electric energy measuring equipment is directly powered off.It may cause equipment however, electric energy measuring equipment is directly powered off
The serious problems of damage, loss of data.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the above drawbacks of the prior art, providing a kind of abnormal shutdown processing
Method and device and electric energy measuring equipment equipped therewith.
The technical solution adopted by the present invention to solve the technical problems is: constructing a kind of applied to the different of electric energy measuring equipment
Often shutdown processing method, described method includes following steps:
After S1, booting, by fault detection module to monitoring component each in electric energy measuring equipment in troubleshooting mould
The level state of block input terminal is detected, and judges that at least one monitoring component has abnormal close according to level state testing result
When machine, switch key enable signal is sent to fault processing module;
When S2, fault processing module receive switch key enable signal and switch key pressing signal, by under it
The monitoring component that corresponding monitoring component switching on and shutting down control circuit control is shut down extremely turns back on, and maintains the prison of normal boot-strap
The open state for surveying component is constant;
S3, when the monitoring component that shuts down extremely restores booting, the monitoring portion shut down extremely is obtained from system log
The abnormal shutdown reason of part decides whether to synchronize and restarts electric energy meter according to the abnormal shutdown reason of the monitoring component to shut down extremely
Measure all monitoring components of equipment.
The present invention also constructs a kind of abnormal shutdown processing unit applied to electric energy measuring equipment, the electric energy measuring equipment
Switching circuit including power supply, for starting electric energy measuring equipment, for reading power meters power consumption values energy data
Acquisition unit, the first gateway unit for connecting Intranet, the second net for electric energy measuring equipment to be isolated with outer net
Lock unit, the communication unit for read power consumption values to be uploaded to energy consumption control centre by Intranet, the exception shutdown processing
Device includes:
Fault detection module, after electric energy measuring equipment booting, according to communication unit, the first gateway unit, second
Gateway unit and electrical energy data acquiring unit judge communication unit, the first gateway in the level signal of fault processing module input terminal
When any one or more appearance in unit, the second gateway unit and electrical energy data acquiring unit are shut down extremely, at failure
It manages module and sends switch key enable signal;
Fault processing module passes through it when for receiving switch key enable signal and switch key pressing signal
The monitoring component that corresponding monitoring component switching on and shutting down control circuit control is shut down extremely down turns back on, while maintaining normal boot-strap
Monitoring component open state it is constant, wherein the monitoring component switching on and shutting down control circuit includes that electrical energy data acquiring unit is opened
Shutdown control circuit, the first gateway unit switch machine control circuit, the second gateway unit switch machine control circuit and communication unit
First switching on and shutting down control circuit.
In the above-mentioned abnormal shutdown processing unit applied to electric energy measuring equipment of the present invention, the fault detection module packet
It includes:
Level sensitive circuit, for detecting the communication unit for being connected to fault processing module, the first gateway unit, the second net
The level state of lock unit and electrical energy data acquiring unit judges communication unit, the first gateway unit, according to the level state
Whether two gateway units and electrical energy data acquiring unit there is abnormal shutdown;
Switch key enable signal generative circuit, when there is abnormal shutdown for a certain monitoring component, to the monitoring component
Switching on and shutting down control circuit input switch key enable signal.
In the above-mentioned abnormal shutdown processing unit applied to electric energy measuring equipment of the present invention, the enabled letter of the switch key
Number generative circuit includes the first XOR gate, the second XOR gate, third XOR gate, first with three input terminals or door, the first electricity
Appearance, the second capacitor, third capacitor, the first field-effect tube, first resistor, in which:
First pin of the first XOR gate connects electrical energy data acquiring unit, the second pin connection first of the first XOR gate
Gateway unit, the third pin ground connection of the first XOR gate, the 4th pin connection first of the first XOR gate or the first pin of door,
5th pin of the first XOR gate is connected between power supply and first capacitor one end, first capacitor other end ground connection;
The second pin of first pin connection communication unit of the second XOR gate, the second XOR gate connects the second gateway list
Member, the third pin ground connection of the second XOR gate, the 4th pin connection first of the second XOR gate or the second pin of door, second is different
Or the 5th pin of door is connected between power supply and second capacitor one end, second capacitor other end ground connection;
First pin of third XOR gate connects electrical energy data acquiring unit, the second pin connection second of third XOR gate
Gateway unit, the third pin ground connection of third XOR gate, the 4th pin connection first of third XOR gate or the 8th pin of door,
5th pin of third XOR gate is connected between power supply and third capacitor one end, third capacitor other end ground connection;
First or door the 7th pin ground connection, first or the 14th pin of door connect power supply, first or door the
Nine pins connect the grid of the first field-effect tube, the source electrode ground connection of the first field-effect tube, the drain electrode connection the of the first field-effect tube
The drain electrode of one resistance one end, the first field-effect tube is connected to electrical energy data acquiring unit switch machine control circuit, the first net simultaneously
Lock unit switch machine control circuit, the second gateway unit switch machine control circuit and communication unit switching on and shutting down control circuit, the
The one resistance other end connects power supply.
In the above-mentioned abnormal shutdown processing unit applied to electric energy measuring equipment of the present invention, the switching circuit includes the
Two resistance, switch, in which:
Second contact of the first contact ground of switch, switch connects second resistance one end, and the second contact of switch is simultaneously
It is connected to electrical energy data acquiring unit switch machine control circuit, the first gateway unit switch machine control circuit, the second gateway unit
Switching on and shutting down control circuit and communication unit switching on and shutting down control circuit, the second resistance other end connect power supply.
In the above-mentioned abnormal shutdown processing unit applied to electric energy measuring equipment of the present invention, the electrical energy data acquiring list
First switching on and shutting down control circuit includes second or door, the second field-effect tube, 3rd resistor, the 4th capacitor, in which:
Second or door the first pin connection switch circuit output end;
Second or the second pin of door be connected between the drain electrode of 3rd resistor one end and the second field-effect tube, third electricity
It hinders the other end and connects electrical energy data acquiring unit, the grid connection switch key enable signal generative circuit of the second field-effect tube
Output end, source electrode connection ground connection;
Second or door third pin ground connection;
Second or the 4th pin of door be connected to electrical energy data acquiring unit;
Second or door the 5th pin connection power supply and the 4th capacitor one end, the 4th capacitor other end ground connection.
In the above-mentioned abnormal shutdown processing unit applied to electric energy measuring equipment of the present invention, the first gateway unit is opened
Shutdown control circuit includes third or door, third field-effect tube, the 4th resistance, the 5th capacitor, in which:
The output end of first pin connection switch circuit of third or door;
Third or the second pin of door are connected between the 4th resistance one end and the drain electrode of third field-effect tube, the 4th resistance
The other end connects the first gateway unit, the output of the grid connection switch key enable signal generative circuit of third field-effect tube
End, source electrode ground connection;
The third pin of third or door ground connection;
4th pin of third or door connects the first gateway unit;
5th pin of third or door connects power supply and the 5th capacitor one end, the 5th capacitor other end ground connection.
In the above-mentioned abnormal shutdown processing unit applied to electric energy measuring equipment of the present invention, the second gateway unit is opened
Shutdown control circuit includes the 4th or door, the 5th resistance, the 6th capacitor, the 4th field-effect tube, in which:
4th or door the first pin connection switch circuit output end;
4th or the second pin of door be connected between the drain electrode and the 5th resistance one end of the 4th field-effect tube, the 5th resistance
The other end connects the second gateway unit, the output of the grid connection switch key enable signal generative circuit of the 4th field-effect tube
End, source electrode ground connection;
4th or door third pin ground connection;
4th or door the 4th pin connect the second gateway unit;
4th or door the 5th pin connect power supply, the 4th or door the 5th pin simultaneously connect the 6th capacitor one
End, the 6th capacitor other end ground connection.
In the above-mentioned abnormal shutdown processing unit applied to electric energy measuring equipment of the present invention, the communication unit switching on and shutting down
Control circuit includes the 5th or door, the 6th resistance, the 5th field-effect tube, the 7th capacitor, in which:
5th or door the first pin connection switch circuit output end;
5th or the second pin of door be connected between the drain electrode and the 6th resistance one end of the 5th field-effect tube, the 6th resistance
Other end connection communication unit, the output end of the grid connection switch key enable signal generative circuit of the 5th field-effect tube,
Source electrode ground connection;
5th or door third pin ground connection;
5th or door the 4th pin connection communication unit;
5th or door the 5th pin connection power supply and the 7th capacitor one end, the 7th capacitor other end ground connection.
The present invention also constructs a kind of electric energy measuring equipment, including power supply, the switch for starting electric energy measuring equipment
Circuit, for reading power meters power consumption values electrical energy data acquiring unit, the first gateway unit for connecting Intranet, be used for
The second gateway unit that electric energy measuring equipment is isolated with outer net, for read power consumption values to be uploaded to energy consumption by Intranet
The communication unit of control centre, when the electric energy measuring equipment further includes for detecting the presence of the monitoring component to shut down extremely,
The exception for making the monitoring component to shut down extremely turn back on, while maintain the open state of the monitoring component of normal boot-strap constant
Shutdown processing unit.
Implement the abnormal shutdown processing method and processing device of the present invention and electric energy measuring equipment equipped therewith, can reach with
It is lower the utility model has the advantages that
The application is that the component in electric energy measuring equipment in the prior art is overcome to occur to be forced to use when abnormal shutdown
Direct power down process measure, it is most likely that the defect for causing equipment damage and hard disc data to be lost uses a kind of safe and effective
Abnormal shutdown processing scheme, exception processing scheme of shutting down is advantageous in that: when the application electric energy measuring equipment operational process
In occur monitoring component extremely shut down the case where when, electric energy measuring equipment administrative staff need to only press switch key
Extremely the monitoring component to shut down is restored to be switched on, and the open state of the monitoring component of normal boot-strap can be maintained constant, so as to
Extremely the abnormal of the monitoring component to shut down extremely is obtained from system log after the monitoring component recovery open state to shut down to close
Machine reason decides whether to synchronize the institute for restarting electric energy measuring equipment according to the abnormal shutdown reason of the monitoring component to shut down extremely
There is monitoring component, thus avoid the component damage customary in the art that equipment is directly powered off to measure and may cause, data are lost
The case where mistake, improves the operation stability of electric energy measuring equipment.
Detailed description of the invention
Fig. 1 is the method flow diagram of a specific embodiment of abnormal shutdown processing method provided by the invention;
Fig. 2 is a tool of the electric energy measuring equipment provided by the invention using abnormal shutdown processing method shown in FIG. 1
The structural block diagram of body embodiment;
Fig. 3 is a specific embodiment of the abnormal shutdown processing unit for including in electric energy measuring equipment shown in Fig. 2
Structural block diagram;
Fig. 4 is the circuit diagram of the switch key enable signal generative circuit of abnormal shutdown processing unit shown in Fig. 3;
Fig. 5 is the circuit diagram of the switching circuit of electric energy measuring equipment shown in Fig. 2;
Fig. 6 is the circuit of the electrical energy data acquiring unit switch machine control circuit of abnormal shutdown processing unit shown in Fig. 3
Figure;
Fig. 7 is the circuit diagram of the first gateway unit switch machine control circuit of abnormal shutdown processing unit shown in Fig. 3;
Fig. 8 is the circuit diagram of the second gateway unit switch machine control circuit of abnormal shutdown processing unit shown in Fig. 3;
Fig. 9 is the circuit diagram of the communication unit switching on and shutting down control circuit of abnormal shutdown processing unit shown in Fig. 3;
Figure 10 is the level combinations table for reflecting the various working conditions of abnormal shutdown processing unit shown in Fig. 3.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.Based on the embodiments of the present invention,
Every other embodiment obtained by those of ordinary skill in the art without making creative efforts, belongs to this hair
The range of bright protection.
As shown in Figure 1, the invention proposes a kind of abnormal shutdown processing method applied to electric energy measuring equipment, this method
Include the following steps:
In step S100 first, after electric energy measuring equipment booting, electric energy measuring equipment is detected by fault detection module 201
In each monitoring component 202 input terminal of fault processing module level state.In the present invention, when monitoring component appearance is different
Often when shutdown, which is low level in the level of 202 input terminal of fault processing module.When monitoring component is in just normally opened
When machine state, which is high level in the level of 202 input terminal of fault processing module.
In later step S200, fault detection module 201 determines whether that there are at least one exceptions according to the level state
The monitoring component of shutdown.If so, thening follow the steps S300, otherwise, previous step S100 is returned to.
In later step S300, fault detection module 201 generates switch key enable signal (low level signal), will switch
Key enable signal is sent to fault processing module 202.
In later step S400, fault processing module 202 receives switch key enable signal, and receives switch key
Press signal (i.e. a kind of low pulse of push switch button generation).
In later step S500, fault processing module 202 passes through corresponding monitoring component switching on and shutting down control circuit control under it
It makes the monitoring component to shut down extremely to turn back on, while maintaining the open state of other monitoring components of normal boot-strap constant.
In later step S600, fault processing module 202 the monitoring component to shut down extremely restore open state when, from
The abnormal shutdown reason that the monitoring component to shut down extremely is obtained in system log, according to the different of the monitoring component to shut down extremely
Often shutdown reason decides whether to synchronize all monitoring components for restarting electric energy measuring equipment.
The invention also provides a kind of electric energy measuring equipments using abnormal shutdown processing method shown in FIG. 1.Such as Fig. 2 institute
Show, which includes:
Power supply 700;
For starting the switching circuit 100 of electric energy measuring equipment;
The electrical energy data acquiring unit 600 of power consumption values for reading power meters;
For connect Intranet the first gateway unit 400, second for making that electric energy measuring equipment is isolated with outer net
Gateway unit 500;
For read power consumption values to be uploaded to the communication unit 300 of energy consumption control centre by Intranet;
And for by above-mentioned each monitoring component (i.e. electrical energy data acquiring unit 600, the first gateway unit 400, the
Two gateway units 500, communication unit 300) when there is the monitoring component to shut down extremely in the level state judgement of its input terminal, make
Extremely the monitoring component to shut down turns back on, while the abnormal shutdown processing for maintaining the open state of other monitoring components constant
Device 200.
As shown in figure 3, exception shutdown processing unit 200 includes:
Fault detection module 201, after electric energy measuring equipment booting, according to communication unit 300, the first gateway unit
400, the second gateway unit 500 and electrical energy data acquiring unit 600 judge in the level signal of 202 input terminal of fault processing module
Any one in communication unit 300, the first gateway unit 400, the second gateway unit 500 and electrical energy data acquiring unit 600
Or multiple appearance send switch key enable signal to fault processing module 202 when shutting down extremely;
Fault processing module 202, the switch for receiving switch key enable signal and being generated by switching circuit 100
When key press signal, the monitoring component to shut down extremely is controlled again by monitoring component switching on and shutting down control circuit corresponding under it
Booting, while maintaining the open state of other monitoring components constant.Wherein, which includes electric energy
Data acquisition unit switching on and shutting down control circuit 2021, the first gateway unit switch machine control circuit 2022, the second gateway unit are opened
Shutdown control circuit 2023 and communication unit switching on and shutting down control circuit 2024.
Wherein, which further comprises:
Level sensitive circuit 2011, for detecting the communication unit 300 for being connected to fault processing module 202, the first gateway
The level state of unit 400, the second gateway unit 500 and electrical energy data acquiring unit 600 judges to communicate according to the level state
Whether unit 300, the first gateway unit 400, the second gateway unit 500 and electrical energy data acquiring unit 600 there is abnormal shutdown;
Switch key enable signal generative circuit 2012, when there is abnormal shut down for electrical energy data acquiring unit 600, to
2021 input switch key enable signal of electrical energy data acquiring unit switch machine control circuit;
It is defeated to the first gateway unit switch machine control circuit 2022 when there is abnormal shut down for the first gateway unit 400
Enter switch key enable signal;
It is defeated to the second gateway unit switch machine control circuit 2023 when there is abnormal shut down for the second gateway unit 500
Enter switch key enable signal;
And when occurring shutting down extremely for communication unit 300, opened to the input of communication unit switching on and shutting down control circuit 2024
Close button enable signal.
The fault processing module 202 further comprises electrical energy data acquiring unit switch machine control circuit 2021, the first net
Lock unit switch machine control circuit 2022, the second gateway unit switch machine control circuit 2023 and communication unit switching on and shutting down control
Circuit 2024 processed.
As shown in figure 4, the switch key enable signal generative circuit 2012 includes that (chip model is the first XOR gate
SN74LVC1G86DBV), (chip model is for the second XOR gate (chip model SN74LVC1G86DBV), third XOR gate
SN74LVC1G86DBV), first or door (chip model 74HC7045), first capacitor C22, the second electricity with three input terminals
Hold C23, third capacitor C24, the first field-effect tube Q8, first resistor R28, in which:
First pin of the first XOR gate connects electrical energy data acquiring unit 600, the second pin connection of the first XOR gate
The of first gateway unit 400, the third pin ground connection of the first XOR gate, the 4th pin connection first of the first XOR gate or door
5th pin of one pin, the first XOR gate is connected between power supply 700 and the one end first capacitor C22, first capacitor C22
Other end ground connection;
The second pin of first pin connection communication unit 300 of the second XOR gate, the second XOR gate connects the second gateway
Unit 500, the third pin ground connection of the second XOR gate, the 4th pin connection first of the second XOR gate or the second pin of door,
5th pin of the second XOR gate is connected between power supply 700 and second one end capacitor C23, the second capacitor C23 other end
Ground connection;
First pin of third XOR gate connects electrical energy data acquiring unit 600, the second pin connection of third XOR gate
The of second gateway unit 500, the third pin ground connection of third XOR gate, the 4th pin connection first of third XOR gate or door
Eight pins, the 5th pin of third XOR gate are connected between power supply 700 and the one end third capacitor C24, third capacitor C24
Other end ground connection;
First or door the 7th pin ground connection, first or the 14th pin of door connect power supply 700, first or door
9th pin connects the grid of the first field-effect tube Q8, the source electrode ground connection of the first field-effect tube Q8, the leakage of the first field-effect tube Q8
Pole connects the one end first resistor R28, and the drain electrode of the first field-effect tube Q8 is connected to electrical energy data acquiring unit switch machine control simultaneously
Circuit 2021 processed, the first gateway unit switch machine control circuit 2022, the second gateway unit switch machine control circuit 2023 and
Communication unit switching on and shutting down control circuit 2024, the first resistor R28 other end connect power supply 700.
As shown in figure 5, the switching circuit 100 includes second resistance R34, switch SW2, in which:
Second contact of the first contact ground of switch SW2, switch SW2 connects the one end second resistance R34, switch SW2's
Second contact is connected to electrical energy data acquiring unit switch machine control circuit 2021, the first gateway unit switch machine control electricity simultaneously
Road 2022, the second gateway unit switch machine control circuit 2023 and communication unit switching on and shutting down control circuit 2024, second resistance
The R34 other end connects power supply 700.
SW2 is system switching machine key, and PWR_BTN is high level when normal, and after SW2 is pressed, PWR_BTN is by high level
Become low level, after unclamping SW2, PWR_BTN becomes high level from low level, thus produces one during the pressing of SW2
A low pulse signal for control system switch machine.
As shown in fig. 6, the electrical energy data acquiring unit switch machine control circuit 2021 include second or door (chip model is
SN74AHC1G32DBV), the second field-effect tube Q10,3rd resistor R30, the 4th capacitor C31, in which:
Second or door the first pin connection switch circuit 100 output end;
Second or the second pin of door be connected between the drain electrode of the one end 3rd resistor R30 and the second field-effect tube Q10,
The 3rd resistor R30 other end connects electrical energy data acquiring unit 600, and the grid connection switch key of the second field-effect tube Q10 makes
The output end of energy signal generating circuit 2012, source electrode connection ground connection;
Second or door third pin ground connection;
Second or the 4th pin of door be connected to electrical energy data acquiring unit 600;
Second or door the 5th pin connection power supply 700 and the 4th one end capacitor C31, the 4th capacitor C31 it is another
End ground connection.
As shown in fig. 7, the first gateway unit switch machine control circuit 2022 includes that (chip model is for third or door
SN74AHC1G32DBV), third field-effect tube Q16, the 4th resistance R35, the 5th capacitor C32, in which:
The output end of first pin connection switch circuit 100 of third or door;
Third or the second pin of door are connected between the drain electrode of the 4th one end resistance R35 and third field-effect tube Q16, the
The four resistance R35 other ends connect the first gateway unit 400, the grid connection switch key enable signal of third field-effect tube Q16
The output end of generative circuit 2012, source electrode ground connection;
The third pin of third or door ground connection;
4th pin of third or door connects the first gateway unit 400;
5th pin of third or door connects power supply 700 and the 5th one end capacitor C32, the 5th capacitor C32 are another
End ground connection.
As shown in figure 8, the second gateway unit switch machine control circuit 2023 include the 4th or door (chip model is
SN74AHC1G32DBV), the 5th resistance R36, the 6th capacitor C33, the 4th field-effect tube Q17, in which:
4th or door the first pin connection switch circuit 100 output end;
4th or the second pin of door be connected between the drain electrode of the 4th field-effect tube Q17 and the 5th one end resistance R36,
The five resistance R36 other ends connect the second gateway unit 500, the grid connection switch key enable signal of the 4th field-effect tube Q17
The output end of generative circuit 2012, source electrode ground connection;
4th or door third pin ground connection;
4th or door the 4th pin connect the second gateway unit 500;
4th or door the 5th pin connect power supply 700, the 4th or door the 5th pin simultaneously connect the 6th capacitor
The one end C33, the 6th capacitor C33 other end ground connection.
As shown in figure 9, the communication unit switching on and shutting down control circuit 2024 include the 5th or door (chip model is
SN74AHC1G32DBV), the 6th resistance R37, the 5th field-effect tube Q18, the 7th capacitor C34, in which:
5th or door the first pin connection switch circuit 100 output end;
5th or the second pin of door be connected between the drain electrode and the 6th one end resistance R37 of the 5th field-effect tube Q18,
The grid connection switch key enable signal of six resistance R37 other end connection communication units 300, the 5th field-effect tube Q18 generates
The output end of circuit 2012, source electrode ground connection;
5th or door third pin ground connection;
5th or door the 4th pin connection communication unit 300;
5th or door the 5th pin connection power supply 700 and the 7th one end capacitor C34, the 7th capacitor C34 it is another
End ground connection.
Below in conjunction with Fig. 1 to Figure 10, to abnormal closedown method of the invention and device and electrical energy measurement equipped therewith
The working principle of equipment is illustrated:
As shown in Figure 10, VCC5_1, VCC5_2, VCC5_3, VCC5_4 respectively indicate data acquisition unit and acquire in data
Level state, the first gateway unit 400 of unit switch machine control circuit input terminal control electric in the first gateway unit switch machine
The level state of 2022 input terminal of road, the second gateway unit 500 are in 2023 input terminal of the second gateway unit switch machine control circuit
Level state and communication unit 300 2024 input terminal of communication unit switching on and shutting down control circuit level state.
The output level (i.e. switch key enable signal) of SYS expression switch key enable signal generative circuit 2012.
V1, V2, V3, V4 respectively indicate first or door, second or door, third or door and the 4th or door second pin electricity
Level state.
Figure 10 discloses 16 kinds of level combinations, reflects 16 kinds of working conditions of electric energy measuring equipment respectively (respectively such as sequence
Shown in number 1 to 16).
In the level combinations that serial number 1 provides, VCC5_1, VCC5_2, VCC5_3, VCC5_4 are 0, respectively indicate data
Acquisition unit, the first gateway unit 400, the second gateway unit 500 and communication unit 300 are in off-mode.Switch key
2012 output level of enable signal generative circuit is 1, field-effect tube Q10, field-effect tube Q16, field-effect tube Q17, field-effect tube
Q18 conducting, first or door, second or door, third or door and the 4th or the second pin (i.e. V1, V2, V3, V4) of door be grounded,
As user push switch key SW2, the low pulse signal (PWR_BTN) of generation can trigger electrical energy data acquiring unit switch machine
Control circuit 2021, the first gateway unit switch machine control circuit 2022, the second gateway unit switch machine control circuit 2023 and
Communication unit switching on and shutting down control circuit 2024 executes 600 power-on operation of electrical energy data acquiring unit, the first gateway unit 400 respectively
300 power-on operation of power-on operation, 500 power-on operation of the second gateway unit and communication unit.
In the level combinations that serial number 16 provides, VCC5_1, VCC5_2, VCC5_3, VCC5_4 are 1, respectively indicate number
Off-mode is according to acquisition unit, the first gateway unit 400, the second gateway unit 500 and communication unit 300.Switch is pressed
2012 output level of key enable signal generative circuit is 1, the second field-effect tube Q10, third field-effect tube Q16, the 4th field-effect
Pipe Q17, the 5th field-effect tube Q18 conducting, first or door, second or door, third or door and the 4th or door second pin (i.e.
V1, V2, V3, V4) it is grounded, as user push switch key SW2, the low pulse signal (PWR BTN) of generation can trigger electricity
It can data acquisition unit switching on and shutting down control circuit 2021, the first gateway unit switch machine control circuit 2022, the second gateway unit
Switching on and shutting down control circuit 2023 and communication unit switching on and shutting down control circuit 2024 execute the pass of electrical energy data acquiring unit 600 respectively
Machine operation, 300 power-off operation of 400 power-off operation of the first gateway unit, 500 power-off operation of the second gateway unit and communication unit.
In this 15 kinds of level combinations shown in serial number 2 to 15, the level shape of VCC5_1, VCC5_2, VCC5_3, VCC5_4
State is inconsistent, indicates there is monitoring component (data acquisition unit, the first gateway unit to shut down extremely in electric energy measuring equipment
400, one or more of the second gateway unit 500 and communication unit 300).Switch key enable signal generative circuit 2012
Output level is 0, and the second field-effect tube Q10, third field-effect tube Q16, the 4th field-effect tube Q17, the 5th field-effect tube Q18 are equal
In off state, first or door, second or door, third or door and the 4th or door second pin (i.e. V1, V2, V3, V4)
Level state is respectively by the switch of data acquisition unit, the first gateway unit 400, the second gateway unit 500 and communication unit 300
Machine state determines that (booting is 1, is shut down as 0).
There is abnormal shutdown in such as the first gateway unit 400, then the second pin of second or door of the first gateway unit 400
(V2) level state is 0, at this point, electric energy measuring equipment administrative staff's pressable switch key, to the first gateway unit switch
First pin of machine control circuit 2022 exports low pulse signal, then second or the first pin of door be high level, the first gateway
Unit switch machine control circuit 2022 can be transmitted to the first gateway unit 400 and open machine control signal, and the first net to shut down extremely is made
Lock unit 400 turns back on.
If the first gateway unit 400 is in normal boot-strap state, then the second of second or door of the first gateway unit 400 is drawn
Foot (V2) is high level, if electric energy measuring equipment administrative staff's push switch key, controls electricity to the first gateway unit switch machine
First pin on road 2022 exports low pulse signal, then second or the first pin and second pin of door be high level, first
Gateway unit switch machine control circuit 2022 does not execute any operation, and the first gateway unit 400 still maintains open state.
It follows that when abnormal power down condition occurs in monitoring component, push switch key can trigger the prison to shut down extremely
Component is surveyed to turn back on, and the monitoring component of normal boot-strap still maintains open state, switch key only acts on abnormal shutdown
Monitoring component.
To sum up, the application is that the component in electric energy measuring equipment in the prior art is overcome to occur to be forced when abnormal shutdown
Using direct power down process measure, it is most likely that the defect for causing equipment damage and hard disc data to be lost uses a kind of safety
Effective abnormal shutdown processing scheme, exception shutdown processing scheme are advantageous in that: when the application electric energy measuring equipment is run
When occurring the case where monitoring component shuts down extremely in the process, electric energy measuring equipment administrative staff need to only press switch key,
Extremely the monitoring component to shut down can be restored to be switched on, and the open state of the monitoring component of normal boot-strap can be maintained constant, with
Just the different of the monitoring component to shut down extremely is obtained from system log after the monitoring component to shut down extremely restores open state
Often shutdown reason decides whether to synchronize and restarts electric energy measuring equipment according to the abnormal shutdown reason of the monitoring component to shut down extremely
All monitoring components, thus avoid the component damage customary in the art that equipment is directly powered off to measure and may cause, number
The case where according to losing, improve the operation stability of electric energy measuring equipment.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read Only Memory, ROM) or random access memory (Random ABBess
Memory, RAM) etc..
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of abnormal shutdown processing method applied to electric energy measuring equipment, which is characterized in that the method includes walking as follows
It is rapid:
It is defeated in fault processing module to monitoring component each in electric energy measuring equipment by fault detection module after S1, booting
The level state for entering end is detected, and judges that at least one monitoring component has abnormal shutdown according to level state testing result
When, switch key enable signal is sent to fault processing module;
When S2, fault processing module receive switch key enable signal and switch key pressing signal, by corresponding under it
The monitoring component that shuts down extremely of monitoring component switching on and shutting down control circuit control turn back on, and maintain the monitoring portion of normal boot-strap
The open state of part is constant;Wherein, the fault processing module corresponds to each monitoring component and is respectively provided with corresponding monitoring component
Switching on and shutting down control circuit;
S3, when the monitoring component that shuts down extremely restores booting, the monitoring component to shut down extremely is obtained from system log
Abnormal shutdown reason decides whether to synchronize and restarts electrical energy measurement and set according to the abnormal shutdown reason of the monitoring component to shut down extremely
Standby all monitoring components.
2. a kind of abnormal shutdown processing unit applied to electric energy measuring equipment, the electric energy measuring equipment include power supply,
For start electric energy measuring equipment switching circuit, for reading power meters power consumption values electrical energy data acquiring unit, be used for
Connect the first gateway unit of Intranet, the second gateway unit for electric energy measuring equipment to be isolated with outer net, for leading to
Cross the communication unit that read power consumption values are uploaded to energy consumption control centre by Intranet, which is characterized in that the abnormal shutdown processing dress
It sets and includes:
Fault detection module, after electric energy measuring equipment booting, according to communication unit, the first gateway unit, the second gateway
Unit and electrical energy data acquiring unit judge communication unit, the first gateway list in the level signal of fault processing module input terminal
When any one or more appearance in member, the second gateway unit and electrical energy data acquiring unit are shut down extremely, to troubleshooting
Module sends switch key enable signal;
Fault processing module when for receiving switch key enable signal and switch key pressing signal, passes through its lower phase
The monitoring component that the monitoring component switching on and shutting down control circuit control answered is shut down extremely turns back on, while maintaining the prison of normal boot-strap
The open state for surveying component is constant, wherein the monitoring component switching on and shutting down control circuit includes electrical energy data acquiring unit switch machine
Control circuit, the first gateway unit switch machine control circuit, the second gateway unit switch machine control circuit and communication unit are opened
Shutdown control circuit.
3. the abnormal shutdown processing unit according to claim 2 applied to electric energy measuring equipment, it is characterised in that:
The fault detection module includes:
Level sensitive circuit, for detecting the communication unit for being connected to fault processing module, the first gateway unit, the second gateway list
The level state of member and electrical energy data acquiring unit, judges communication unit, the first gateway unit, the second net according to the level state
Whether lock unit and electrical energy data acquiring unit there is abnormal shutdown;
Switch key enable signal generative circuit when there is abnormal shutdown for a certain monitoring component, is switched to the monitoring component
Machine control circuit input switch key enable signal.
4. the abnormal shutdown processing unit according to claim 3 applied to electric energy measuring equipment, which is characterized in that described
Switch key enable signal generative circuit includes the first XOR gate, the second XOR gate, third XOR gate, with three input terminals
One or door, first capacitor, the second capacitor, third capacitor, the first field-effect tube, first resistor, in which:
First pin of the first XOR gate connects electrical energy data acquiring unit, and the second pin of the first XOR gate connects the first gateway
Unit, the third pin ground connection of the first XOR gate, the 4th pin connection first of the first XOR gate or the first pin of door, first
5th pin of XOR gate is connected between power supply and first capacitor one end, first capacitor other end ground connection;
First pin connection communication unit of the second XOR gate, the second pin of the second XOR gate connect the second gateway unit, the
The third pin of two XOR gates is grounded, the 4th pin connection first of the second XOR gate or the second pin of door, the second XOR gate
The 5th pin be connected between power supply and second capacitor one end, the second capacitor other end ground connection;
First pin of third XOR gate connects electrical energy data acquiring unit, and the second pin of third XOR gate connects the second gateway
Unit, the third pin ground connection of third XOR gate, the 4th pin connection first of third XOR gate or the 8th pin of door, third
5th pin of XOR gate is connected between power supply and third capacitor one end, third capacitor other end ground connection;
First or door the 7th pin ground connection, first or the 14th pin of door connect power supply, first or door the 9th draw
Foot connects the grid of the first field-effect tube, the source electrode ground connection of the first field-effect tube, the first electricity of drain electrode connection of the first field-effect tube
One end is hindered, the drain electrode of the first field-effect tube is connected to electrical energy data acquiring unit switch machine control circuit, the first gateway list simultaneously
First switching on and shutting down control circuit, the second gateway unit switch machine control circuit and communication unit switching on and shutting down control circuit, the first electricity
It hinders the other end and connects power supply.
5. the abnormal shutdown processing unit according to claim 4 applied to electric energy measuring equipment, which is characterized in that described
Switching circuit includes second resistance, switch, in which:
Second contact of the first contact ground of switch, switch connects second resistance one end, and the second contact of switch connects simultaneously
To electrical energy data acquiring unit switch machine control circuit, the first gateway unit switch machine control circuit, the second gateway unit switch
Machine control circuit and communication unit switching on and shutting down control circuit, the second resistance other end connect power supply.
6. the abnormal shutdown processing unit according to claim 5 applied to electric energy measuring equipment, which is characterized in that described
Electrical energy data acquiring unit switch machine control circuit includes second or door, the second field-effect tube, 3rd resistor, the 4th capacitor,
In:
Second or door the first pin connection switch circuit output end;
Second or the second pin of door be connected between the drain electrode of 3rd resistor one end and the second field-effect tube, 3rd resistor is another
One end connects electrical energy data acquiring unit, the output of the grid connection switch key enable signal generative circuit of the second field-effect tube
End, source electrode connection ground connection;
Second or door third pin ground connection;
Second or the 4th pin of door be connected to electrical energy data acquiring unit;
Second or door the 5th pin connection power supply and the 4th capacitor one end, the 4th capacitor other end ground connection.
7. the abnormal shutdown processing unit according to claim 6 applied to electric energy measuring equipment, which is characterized in that described
First gateway unit switch machine control circuit includes third or door, third field-effect tube, the 4th resistance, the 5th capacitor, in which:
The output end of first pin connection switch circuit of third or door;
Third or the second pin of door are connected between the 4th resistance one end and the drain electrode of third field-effect tube, and the 4th resistance is another
The first gateway unit of end connection, the output end of the grid connection switch key enable signal generative circuit of third field-effect tube,
Source electrode ground connection;
The third pin of third or door ground connection;
4th pin of third or door connects the first gateway unit;
5th pin of third or door connects power supply and the 5th capacitor one end, the 5th capacitor other end ground connection.
8. the abnormal shutdown processing unit according to claim 7 applied to electric energy measuring equipment, which is characterized in that described
Second gateway unit switch machine control circuit includes the 4th or door, the 5th resistance, the 6th capacitor, the 4th field-effect tube, in which:
4th or door the first pin connection switch circuit output end;
4th or the second pin of door be connected between the drain electrode and the 5th resistance one end of the 4th field-effect tube, the 5th resistance is another
The second gateway unit of end connection, the output end of the grid connection switch key enable signal generative circuit of the 4th field-effect tube,
Source electrode ground connection;
4th or door third pin ground connection;
4th or door the 4th pin connect the second gateway unit;
4th or the 5th pin of door connect power supply, the 4th or the 5th pin of door connect the 6th capacitor one end simultaneously, the
Six capacitor other ends ground connection.
9. the abnormal shutdown processing unit according to claim 8 applied to electric energy measuring equipment, which is characterized in that described
Communication unit switching on and shutting down control circuit includes the 5th or door, the 6th resistance, the 5th field-effect tube, the 7th capacitor, in which:
5th or door the first pin connection switch circuit output end;
5th or the second pin of door be connected between the drain electrode and the 6th resistance one end of the 5th field-effect tube, the 6th resistance is another
Hold connection communication unit, the output end of the grid connection switch key enable signal generative circuit of the 5th field-effect tube, source electrode
Ground connection;
5th or door third pin ground connection;
5th or door the 4th pin connection communication unit;
5th or door the 5th pin connection power supply and the 7th capacitor one end, the 7th capacitor other end ground connection.
10. a kind of electric energy measuring equipment, switching circuit including power supply, for starting electric energy measuring equipment, for reading
The electrical energy data acquiring unit of the power consumption values of electric energy meter, the first gateway unit for connecting Intranet, for setting electrical energy measurement
Standby the second gateway unit being isolated with outer net, for read power consumption values to be uploaded to the logical of energy consumption control centre by Intranet
Believe unit, which is characterized in that the electric energy measuring equipment further includes at the abnormal shutdown as described in any in claim 2 to 9
Manage device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510312552.0A CN106291438B (en) | 2015-06-09 | 2015-06-09 | Abnormal shutdown processing method and processing device and electric energy measuring equipment equipped therewith |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510312552.0A CN106291438B (en) | 2015-06-09 | 2015-06-09 | Abnormal shutdown processing method and processing device and electric energy measuring equipment equipped therewith |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106291438A CN106291438A (en) | 2017-01-04 |
CN106291438B true CN106291438B (en) | 2019-06-07 |
Family
ID=57660209
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510312552.0A Expired - Fee Related CN106291438B (en) | 2015-06-09 | 2015-06-09 | Abnormal shutdown processing method and processing device and electric energy measuring equipment equipped therewith |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106291438B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101489071A (en) * | 2008-01-15 | 2009-07-22 | 深圳市科创数字显示技术有限公司 | System for preventing optical projection television from abnormal shutdown and implementing method thereof |
KR20130027888A (en) * | 2011-09-08 | 2013-03-18 | 현대중공업 주식회사 | Web monitoring device for solar power plant |
CN103186432A (en) * | 2011-12-27 | 2013-07-03 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and processing method for exception shutdown of terminal |
CN103713912A (en) * | 2012-09-29 | 2014-04-09 | 深圳市祈飞科技有限公司 | Automatic power on circuit of computer |
CN104199766A (en) * | 2014-08-25 | 2014-12-10 | 广东欧珀移动通信有限公司 | Abnormal running monitoring method and device |
KR101518821B1 (en) * | 2013-11-28 | 2015-05-12 | 장상호 | Magnetic sensing type line fault indicator |
-
2015
- 2015-06-09 CN CN201510312552.0A patent/CN106291438B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101489071A (en) * | 2008-01-15 | 2009-07-22 | 深圳市科创数字显示技术有限公司 | System for preventing optical projection television from abnormal shutdown and implementing method thereof |
KR20130027888A (en) * | 2011-09-08 | 2013-03-18 | 현대중공업 주식회사 | Web monitoring device for solar power plant |
CN103186432A (en) * | 2011-12-27 | 2013-07-03 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and processing method for exception shutdown of terminal |
CN103713912A (en) * | 2012-09-29 | 2014-04-09 | 深圳市祈飞科技有限公司 | Automatic power on circuit of computer |
KR101518821B1 (en) * | 2013-11-28 | 2015-05-12 | 장상호 | Magnetic sensing type line fault indicator |
CN104199766A (en) * | 2014-08-25 | 2014-12-10 | 广东欧珀移动通信有限公司 | Abnormal running monitoring method and device |
Non-Patent Citations (2)
Title |
---|
一种消防网络智能监控系统;徐东辉;《辽东学院学报(自然科学版)》;20141231;第295-299页,第302页 |
电脑意外关机应急处理方法;杜磊;《计算机与网络》;20071231;第28-29页 |
Also Published As
Publication number | Publication date |
---|---|
CN106291438A (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204360323U (en) | For enabling the control circuit of the connection of primary power, computing system and device | |
CN105910291B (en) | A kind of control system of electric water heater intelligently powered off | |
CN105573372B (en) | A kind of control method and device of intelligent terminal | |
CN104536551A (en) | Method and device for clearing away information on complementary metal oxide semiconductor (CMOS) | |
US11011905B2 (en) | Fall-off protection and reverse-connection protection system and method for connecting clamp of automobile starting power supply | |
CN104461664B (en) | MCU start-up mode selection circuits | |
CN104272326A (en) | Card burning preventing detecting device, terminal equipment, and card burning detecting and processing method | |
CN101335514B (en) | Safe switching apparatus and switching method for system on chip | |
CN106291438B (en) | Abnormal shutdown processing method and processing device and electric energy measuring equipment equipped therewith | |
CN206258817U (en) | Power control and computer | |
CN101843442A (en) | Anti-dry heating soymilk machine and anhydrous anti-dry heating detecting method | |
CN107918069B (en) | Power failure test system and method | |
CN103383405B (en) | A kind of passive signal voltage detection method | |
CN205232010U (en) | Electrical source controller of sales counter equipment | |
CN108537069A (en) | Store tester data self-destruction method | |
CN204346539U (en) | There is water level detection circuit and the cooking apparatus of self-checking function | |
CN106972568A (en) | Charging detecting circuit, method and electronic equipment | |
CN108237305A (en) | Electric welding machine power-down protection apparatus and electric welding machine | |
CN206594249U (en) | A kind of electric-leakage detection circuit device | |
CN203376433U (en) | Electric leakage detection circuit | |
CN105391273A (en) | Power controller of counter device | |
CN105841776A (en) | Water level detection circuit, self-checking method thereof, and cooking utensil | |
CN203858476U (en) | Combined electric power meter | |
CN207799514U (en) | A kind of power control circuit and intelligent physical examination equipment | |
CN103197573B (en) | Discharge voltage regulator (DVR) power control device and DVR power control method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190607 Termination date: 20210609 |