CN106291438A - 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 PDF

Info

Publication number
CN106291438A
CN106291438A CN201510312552.0A CN201510312552A CN106291438A CN 106291438 A CN106291438 A CN 106291438A CN 201510312552 A CN201510312552 A CN 201510312552A CN 106291438 A CN106291438 A CN 106291438A
Authority
CN
China
Prior art keywords
pin
door
unit
control circuit
measuring equipment
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
CN201510312552.0A
Other languages
Chinese (zh)
Other versions
CN106291438B (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.)
Shenzhen Prafly Technology Co Ltd
Original Assignee
Shenzhen Prafly 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 Shenzhen Prafly Technology Co Ltd filed Critical Shenzhen Prafly Technology Co Ltd
Priority to CN201510312552.0A priority Critical patent/CN106291438B/en
Publication of CN106291438A publication Critical patent/CN106291438A/en
Application granted granted Critical
Publication of CN106291438B publication Critical patent/CN106291438B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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 equipment equipped therewith.Present invention processing method of extremely shutting down comprises the steps: S1, under open state, by fault detection module, its each monitoring component lower is detected in the level state of fault processing module input, when judging that abnormal shutdown occurs at least one monitoring component according to level state testing result, send switch key to fault processing module and enable signal;When S2, fault processing module receive switch key enable signal and switch key pressing signal, the monitoring component being controlled abnormal shutdown by corresponding monitoring component switching on and shutting down control circuit under it is turned back on, and the open state simultaneously maintaining other monitoring component is constant;S3, obtain from system journal this exception shutdown monitoring component exception shutdown reason, according to this exception shutdown monitoring component exception shut down reason decide whether to synchronize to restart all monitoring components of electric energy measuring equipment.

Description

Abnormal shutdown processing method and processing device and electric energy measuring equipment equipped therewith
Technical field
The present invention relates to power-off protection technical field, more particularly, it relates to a kind of abnormal shutdown process side Method and device and electric energy measuring equipment equipped therewith.
Background technology
In power industry, electric energy measuring equipment generally includes power supply, control switchs, energy data is adopted Collection unit, the first gateway unit (outer net), the second gateway unit (Intranet) and communication unit.Mesh Before, the switching on and shutting down control program of the most commonly used single switch Synchronization Control aforementioned four unit switch machine, The disadvantage of this kind of switching on and shutting down control program is: when abnormal shutdown occurs in the unit of electric energy measuring equipment, And other unit still in normal boot-strap state time, the duty of unit is inconsistent, presses switch Afterwards, the unit of abnormal shutdown turns back on, and the unit being originally in normal boot-strap state then " is forced " Shutdown, the duty of unit forever cannot be harmonious, it is impossible to work simultaneously.For this feelings Condition, unique solution is exactly: by direct for electric energy measuring equipment power-off.But, electric energy metrical is set Standby direct power-off is likely to result in the serious problems of device damage, loss of data.
Summary of the invention
The technical problem to be solved in the present invention is the drawbacks described above for prior art, it is provided that a kind of abnormal Shutdown processing method and processing device and electric energy measuring equipment equipped therewith.
The technical solution adopted for the present invention to solve the technical problems is: structure one is applied to electric energy metrical The exception shutdown processing method of equipment, described method comprises the steps:
After S1, start, by fault detection module to its each monitoring component lower in fault processing module The level state of input detects, and judges at least one monitoring component according to level state testing result When there is abnormal shutdown, send switch key to fault processing module and enable signal;
S2, fault processing module receive switch key and enable signal, and during switch key pressing signal, The monitoring component being controlled abnormal shutdown by corresponding monitoring component switching on and shutting down control circuit under it is opened again Machine, and maintain the open state of the monitoring component of normal boot-strap constant;
S3, exception monitoring parts recover start time, obtain from system journal this exception shut down monitoring The exception shutdown reason of parts, decides whether according to the exception shutdown reason of the monitoring component of this exception shutdown Synchronize to restart all monitoring components of electric energy measuring equipment.
The present invention also constructs a kind of exception shutdown processing means being applied to electric energy measuring equipment, described electric energy Measuring equipment includes power supply, for starting the on-off circuit of electric energy measuring equipment, for reading electric energy The electrical energy data acquiring unit of the power consumption values of table, for connecting the first gateway unit of Intranet, is used for making electricity Energy measuring equipment and outer net carry out the second gateway unit isolated, and are used for read power consumption values by Intranet Passing to the communication unit of energy consumption control centre, described abnormal shutdown processing means includes:
Fault detection module, after electric energy measuring equipment is started shooting, according to communication unit, the first gateway Unit, the second gateway unit and electrical energy data acquiring unit are in the level signal of fault processing module input Judge in communication unit, the first gateway unit, the second gateway unit and electrical energy data acquiring unit is any During the abnormal shutdown of one or more appearance, send starting key to fault processing module and enable signal;
Fault processing module, when being used for receiving switch key enable signal and switch key pressing signal, The monitoring component being controlled abnormal shutdown by corresponding monitoring component switching on and shutting down control circuit under it is opened again Machine, the open state simultaneously maintaining the monitoring component of normal boot-strap is constant, and wherein, this monitoring component switchs Machine control circuit includes electrical energy data acquiring unit switch machine control circuit, the first gateway unit switch machine control Circuit processed, the second gateway unit switch machine control circuit and communication unit switching on and shutting down control circuit.
In the above-mentioned exception shutdown processing means being applied to electric energy measuring equipment of the present invention, described fault is examined Survey module includes:
Level sensitive circuit, is connected to the communication unit of fault processing module, the first gateway list for detection Unit, the second gateway unit and the level state of electrical energy data acquiring unit, judge logical according to this level state Whether letter unit, the first gateway unit, the second gateway unit and electrical energy data acquiring unit there is abnormal pass Machine;
Switch key enables signal generating circuit, when abnormal shutdown occurs in a certain monitoring component, to this Monitoring component switching on and shutting down control circuit input switch button enables signal.
In the above-mentioned exception shutdown processing means being applied to electric energy measuring equipment of the present invention, described switch is pressed Key enables signal generating circuit and includes the first XOR gate, the second XOR gate, the 3rd XOR gate, defeated with three Enter first or door of end, the first electric capacity, the second electric capacity, the 3rd electric capacity, the first field effect transistor, the first electricity Resistance, wherein:
First pin of the first XOR gate connects electrical energy data acquiring unit, the second pin of the first XOR gate Connecting the first gateway unit, the 3rd pin ground connection of the first XOR gate, the 4th pin of the first XOR gate is even Connecing the first pin of first or door, the 5th pin of the first XOR gate is connected to power supply and the first electric capacity Between one end, the first electric capacity other end ground connection;
First pin of the second XOR gate connects communication unit, and the second pin of the second XOR gate connects second Gateway unit, the 3rd pin ground connection of the second XOR gate, the second XOR gate the 4th pin connect first or Second pin of door, the 5th pin of the second XOR gate is connected between power supply and second electric capacity one end, Second electric capacity other end ground connection;
First pin of the 3rd XOR gate connects electrical energy data acquiring unit, the second pin of the 3rd XOR gate Connecting the second gateway unit, the 3rd pin ground connection of the 3rd XOR gate, the 4th pin of the 3rd XOR gate is even Connecing the 8th pin of first or door, the 5th pin of the 3rd XOR gate is connected to power supply and the 3rd electric capacity Between one end, the 3rd electric capacity other end ground connection;
First or the 7th pin ground connection of door, first or the 14th pin of door connect power supply, first Or the 9th pin of door connects the grid of the first field effect transistor, the source ground of the first field effect transistor, first The drain electrode of field effect transistor connects first resistance one end, and the drain electrode of the first field effect transistor is simultaneously connected to electric energy number According to collecting unit switching on and shutting down 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 first resistance other end connects power supply Power supply.
In the above-mentioned exception shutdown processing means being applied to electric energy measuring equipment of the present invention, described switch electricity Road includes the second resistance, switch, wherein:
First contact ground of switch, the second contact of switch connects second resistance one end, the second of switch Contact is simultaneously connected to electrical energy data acquiring unit switch machine control circuit, the first gateway unit switch machine control Circuit processed, the second gateway unit switch machine control circuit and communication unit switching on and shutting down control circuit, the The two resistance other ends connect power supply.
In the above-mentioned exception shutdown processing means being applied to electric energy measuring equipment of the present invention, described electric energy number According to collecting unit switching on and shutting down control circuit include second or door, the second field effect transistor, the 3rd resistance, the 4th Electric capacity, wherein:
Second or the outfan of the first pin connecting valve circuit of door;
Second or the second pin of door be connected to the 3rd resistance one end and the second field effect transistor drain electrode it Between, the 3rd resistance other end connects electrical energy data acquiring unit, the grid connecting valve of the second field effect transistor Button enables the outfan of signal generating circuit, and its source electrode connects ground connection;
Second or the 3rd pin ground connection of door;
Second or the 4th pin of door be connected to electrical energy data acquiring unit;
Second or the 5th pin of door connect power supply and the 4th electric capacity one end, the 4th electric capacity other end Ground connection.
In the above-mentioned exception shutdown processing means being applied to electric energy measuring equipment of the present invention, described first net Lock unit switch machine control circuit includes the 3rd or door, the 3rd field effect transistor, the 4th resistance, the 5th electric capacity, Wherein:
3rd or the outfan of the first pin connecting valve circuit of door;
3rd or the second pin of door be connected between the 4th resistance one end and the drain electrode of the 3rd field effect transistor, The 4th resistance other end connects the first gateway unit, and the grid connecting valve button of the 3rd field effect transistor enables The outfan of signal generating circuit, its source ground;
3rd or the 3rd pin ground connection of door;
3rd or the 4th pin of door connect the first gateway unit;
3rd or the 5th pin of door connect power supply and the 5th electric capacity one end, the 5th electric capacity other end Ground connection.
In the above-mentioned exception shutdown processing means being applied to electric energy measuring equipment of the present invention, described second net Lock unit switch machine control circuit includes the 4th or door, the 5th resistance, the 6th electric capacity, the 4th field effect transistor, Wherein:
4th or the outfan of the first pin connecting valve circuit of door;
4th or the second pin of door be connected between drain electrode and the 5th resistance one end of the 4th field effect transistor, The 5th resistance other end connects the second gateway unit, and the grid connecting valve button of the 4th field effect transistor enables The outfan of signal generating circuit, its source ground;
4th or the 3rd pin ground connection of door;
4th or the 4th pin of door connect the second gateway unit;
4th or the 5th pin of door connect power supply, the 4th or the 5th pin of door be simultaneously connected with the 6th Electric capacity one end, the 6th electric capacity other end ground connection.
In the above-mentioned exception shutdown processing means being applied to electric energy measuring equipment of the present invention, described communication unit Unit's switching on and shutting down control circuit includes the 5th or door, the 6th resistance, the 5th field effect transistor, the 7th electric capacity, its In:
5th or the outfan of the first pin connecting valve circuit of door;
5th or the second pin of door be connected between drain electrode and the 6th resistance one end of the 5th field effect transistor, The 6th resistance other end connects communication unit, and the grid connecting valve button of the 5th field effect transistor enables signal The outfan of generative circuit, its source ground;
5th or the 3rd pin ground connection of door;
5th or door the 4th pin connect communication unit;
5th or the 5th pin of door connect power supply and the 7th electric capacity one end, the 7th electric capacity other end Ground connection.
The present invention also constructs a kind of electric energy measuring equipment, sets including power supply, for starting electric energy metrical Standby on-off circuit, for reading power meters power consumption values electrical energy data acquiring unit, be used for connecting in First gateway unit of net, for the second gateway unit making electric energy measuring equipment and outer net carry out isolating, For read power consumption values being uploaded to by Intranet the communication unit of energy consumption control centre, described electric energy metrical When equipment also includes the monitoring component for detecting the presence of abnormal shutdown, make the monitoring portion that this exception is shut down Part turns back on, and maintains the exception shutdown process that the open state of the monitoring component of normal boot-strap is constant simultaneously Device.
Implement the present invention extremely to shut down processing method and processing device and electric energy measuring equipment equipped therewith, can Reach following beneficial effect:
The application is that the parts that overcome in prior art in electric energy measuring equipment can only be by when there is abnormal shutdown Compel to use direct power down process measure, it is most likely that cause the defect that device damage and hard disc data are lost, Have employed one the most extremely to shut down processing scheme, this exception shutdown processing scheme is advantageous in that: When the application electric energy measuring equipment running occurs the situation of the abnormal shutdown of monitoring component, electric energy meter Amount equipment management personnel only need to press switch key, can recover to open by the monitoring component of abnormal shutdown Machine, and the open state of the monitoring component of normal boot-strap can be maintained constant, in order in the monitoring of abnormal shutdown Parts obtain the monitoring component of this exception shutdown from system journal exception shutdown after recovering open state is former By, decide whether that electric energy metrical is restarted in synchronization according to the exception shutdown reason of the monitoring component of this exception shutdown All monitoring components of equipment, thus avoid customary in the art direct for equipment power-off measure may being made The component damage become, the situation of loss of data, improve the operation stability of electric energy measuring equipment.
Accompanying drawing explanation
The method flow diagram of one specific embodiment of the exception shutdown processing method that Fig. 1 provides for the present invention;
The electric energy measuring equipment of the exception shutdown processing method shown in the application drawing 1 that Fig. 2 provides for the present invention The structured flowchart of a specific embodiment;
Fig. 3 is that the exception shutdown one of processing means comprised in the electric energy measuring equipment shown in Fig. 2 is concrete The structured flowchart of embodiment;
Fig. 4 is the electricity of the switch key enable signal generating circuit of the exception shutdown processing means shown in Fig. 3 Lu Tu;
Fig. 5 is the circuit diagram of the on-off circuit of the electric energy measuring equipment shown in Fig. 2;
Fig. 6 is that the electrical energy data acquiring unit switch machine of the exception shutdown processing means shown in Fig. 3 controls electricity The circuit diagram on road;
Fig. 7 is the first gateway unit switch machine control circuit of the exception shutdown processing means shown in Fig. 3 Circuit diagram;
Fig. 8 is the second gateway unit switch machine control circuit of the exception shutdown processing means shown in Fig. 3 Circuit diagram;
Fig. 9 is the circuit of the communication unit switching on and shutting down control circuit of the exception shutdown processing means shown in Fig. 3 Figure;
Figure 10 is the level group of the various duties for reflecting the exception shutdown processing means shown in Fig. 3 Close table.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention. Based on the embodiment in the present invention, those of ordinary skill in the art are not under making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, the present invention proposes a kind of exception shutdown processing method being applied to electric energy measuring equipment, The method comprises the steps:
First, in step S100, after electric energy measuring equipment start, it is detected by fault detection module 201 Under each monitoring component at the level state of fault processing module 202 input.In the present invention, when When abnormal shutdown occurs in monitoring component, this monitoring component at the level of fault processing module 202 input is Low level.When monitoring component is in normal boot-strap state, this monitoring component is at fault processing module 202 The level of input is high level.
In later step S200, fault detection module 201 determines whether to exist at least according to this level state The monitoring component of one abnormal shutdown.In this way, then perform step S300, otherwise, return previous step S100.
In later step S300, fault detection module 201 generates switch key and enables signal (low level letter Number), switch key is enabled signal and is sent to fault processing module 202.
In later step S400, fault processing module 202 receives switch key and enables signal, and receives To switch key pressing signal (the low pulse of one that i.e. pressing shift knob produces).
In later step S500, fault processing module 202 pass through under corresponding monitoring component switching on and shutting down control Circuit processed controls the monitoring component of abnormal shutdown and turns back on, and maintains other monitoring portion of normal boot-strap simultaneously The open state of part is constant.
In later step S600, fault processing module 202 recovers start at the monitoring component of this abnormal shutdown During state, from system journal, obtain the exception shutdown reason of the monitoring component of this exception shutdown, according to this The exception shutdown reason of the monitoring component of abnormal shutdown decides whether to synchronize to restart all of electric energy measuring equipment Monitoring component.
The invention allows for the electric energy measuring equipment of the exception shutdown processing method shown in a kind of application drawing 1. As in figure 2 it is shown, this electric energy measuring equipment includes:
Power supply 700;
For starting the on-off circuit 100 of electric energy measuring equipment;
Electrical energy data acquiring unit 600 for the power consumption values of reading power meters;
For connecting the first gateway unit 400 of Intranet, being used for making electric energy measuring equipment isolate with outer net The second gateway unit 500;
For read power consumption values being uploaded to by Intranet the communication unit 300 of energy consumption control centre;
And for by each monitoring component above-mentioned (i.e. electrical energy data acquiring unit 600, the first gateway list Unit 400, the second gateway unit 500, communication unit 300) its input level state judge exist During the monitoring component extremely shut down, the monitoring component making this exception shut down turns back on, and maintains other simultaneously The exception shutdown processing means 200 that the open state of monitoring component is constant.
As it is shown on figure 3, this exception shutdown processing means 200 includes:
Fault detection module 201, after electric energy measuring equipment is started shooting, according to communication unit 300, the One gateway unit the 400, second gateway unit 500 and electrical energy data acquiring unit 600 are at fault processing module The level signal of 202 inputs judges communication unit the 300, first gateway unit the 400, second gateway unit 500 and electrical energy data acquiring unit 600 in any one or more appearance abnormal shutdown time, at fault Reason module 202 sends starting key and enables signal;
Fault processing module 202, is used for receiving switch key and enables signal and produced by on-off circuit 100 When raw switch key presses signal, control different by corresponding monitoring component switching on and shutting down control circuit under it The monitoring component of the normally off machine turns back on, and the open state simultaneously maintaining other monitoring component is constant.Wherein, This monitoring component switching on and shutting down control circuit include electrical energy data acquiring unit switch machine control circuit 2021, One gateway unit switch machine control circuit the 2022, second gateway unit switch machine control circuit 2023 and Communication unit switching on and shutting down control circuit 2024.
Wherein, this fault detection module 201 farther includes:
Level sensitive circuit 2011, for detection be connected to fault processing module 202 communication unit 300, First gateway unit the 400, second gateway unit 500 and the level state of electrical energy data acquiring unit 600, According to this level state judge communication unit the 300, first gateway unit the 400, second gateway unit 500 and Whether electrical energy data acquiring unit 600 there is abnormal shutdown;
Switch key enables signal generating circuit 2012, exception occurs for electrical energy data acquiring unit 600 During shutdown, enable signal to electrical energy data acquiring unit switch machine control circuit 2021 input switch button;
When abnormal shutdown occurs in the first gateway unit 400, control electricity to the first gateway unit switch machine Road 2022 input switch button enables signal;
When abnormal shutdown occurs in the second gateway unit 500, control electricity to the second gateway unit switch machine Road 2023 input switch button enables signal;
And when abnormal shutdown occurs in communication unit 300, to communication unit switching on and shutting down control circuit 2024 Input switch button enables signal.
This fault processing module 202 farther include electrical energy data acquiring unit switch machine control circuit 2021, First gateway unit switch machine control circuit the 2022, second gateway unit switch machine control circuit 2023, with And communication unit switching on and shutting down control circuit 2024.
As shown in Figure 4, this starting key enable signal generating circuit includes the first XOR gate (chip model For SN74LVC1G86DBV), the second XOR gate (chip model is SN74LVC1G86DBV), Three XOR gates (chip model is SN74LVC1G86DBV), first or door (core with three inputs Sheet model is 74HC7045), the first electric capacity C22, the second electric capacity C23, the 3rd electric capacity C24, first Effect pipe Q8, the first resistance R28, wherein:
First pin of the first XOR gate connects electrical energy data acquiring unit 600, and the second of the first XOR gate is drawn Foot connects the first gateway unit 400, the 3rd pin ground connection of the first XOR gate, and the 4th of the first XOR gate draws Foot connects first or the first pin of door, the 5th pin of the first XOR gate be connected to power supply 700 and Between first electric capacity C22 one end, the first electric capacity C22 other end ground connection;
First pin of the second XOR gate connects communication unit 300, and the second pin of the second XOR gate connects the Two gateway unit 500, the 3rd pin ground connection of the second XOR gate, the 4th pin of the second XOR gate connects the One or the second pin of door, the 5th pin of the second XOR gate is connected to power supply 700 and the second electric capacity Between C23 one end, the second electric capacity C23 other end ground connection;
First pin of the 3rd XOR gate connects electrical energy data acquiring unit 600, and the second of the 3rd XOR gate is drawn Foot connects the second gateway unit 500, the 3rd pin ground connection of the 3rd XOR gate, and the 4th of the 3rd XOR gate draws Foot connects first or the 8th pin of door, the 5th pin of the 3rd XOR gate be connected to power supply 700 and Between 3rd electric capacity C24 one end, the 3rd electric capacity C24 other end ground connection;
First or the 7th pin ground connection of door, first or the 14th pin of door connect power supply 700, the One or the 9th pin of door connect the grid of the first field effect transistor Q8, the source electrode of the first field effect transistor Q8 connects Ground, the drain electrode of the first field effect transistor Q8 connects first resistance R28 one end, the leakage of the first field effect transistor Q8 Pole is simultaneously connected to electrical energy data acquiring unit switch machine control circuit the 2021, first gateway unit switch machine Control circuit the 2022, second gateway unit switch machine control circuit 2023 and communication unit switching on and shutting down control Circuit 2024 processed, the first resistance R28 other end connects power supply 700.
As it is shown in figure 5, this on-off circuit 100 includes the second resistance R34, switch SW2, wherein:
First contact ground of switch SW2, second contact of switch SW2 connects the second resistance R34 mono- End, switch SW2 the second contact be simultaneously connected to electrical energy data acquiring unit switch machine control circuit 2021, First gateway unit switch machine control circuit the 2022, second gateway unit switch machine control circuit 2023, with And communication unit switching on and shutting down control circuit 2024, the second resistance R34 other end connects power supply 700.
SW2 is system switching machine button, and time normal, PWR_BTN is high level, after SW2 is pressed, PWR_BTN is become low level from high level, and after unclamping SW2, PWR_BTN is become from low level High level, thus creates a low pulse for control system switching on and shutting down during the pressing of SW2 Signal.
As shown in Figure 6, this electrical energy data acquiring unit switch machine control circuit 2021 includes second or door (core Sheet model is SN74AHC1G32DBV), the second field effect transistor Q10, the 3rd resistance R30, the 4th electricity Hold C31, wherein:
Second or the outfan of the first pin connecting valve circuit 100 of door;
Second or the second pin of door be connected to the 3rd resistance R30 one end and the second field effect transistor Q10 Between drain electrode, the 3rd resistance R30 other end connects electrical energy data acquiring unit 600, the second field effect transistor The grid connecting valve button of Q10 enables the outfan of signal generating circuit 2012, and its source electrode connects ground connection;
Second or the 3rd pin ground connection of door;
Second or the 4th pin of door be connected to electrical energy data acquiring unit 600;
Second or the 5th pin of door connect power supply 700 and the 4th electric capacity C31 one end, the 4th electricity Hold C31 other end ground connection.
As it is shown in fig. 7, this first gateway unit switch machine control circuit 2022 includes the 3rd or door (chip Model is SN74AHC1G32DBV), the 3rd field effect transistor Q16, the 4th resistance R35, the 5th electric capacity C32, wherein:
3rd or the outfan of the first pin connecting valve circuit 100 of door;
3rd or the second pin of door be connected to the 4th resistance R35 one end and the leakage of the 3rd field effect transistor Q16 Between pole, the 4th resistance R35 other end connects the first gateway unit 400, the 3rd field effect transistor Q16 Grid connecting valve button enables the outfan of signal generating circuit 2012, its source ground;
3rd or the 3rd pin ground connection of door;
3rd or the 4th pin of door connect the first gateway unit 400;
3rd or the 5th pin of door connect power supply 700 and the 5th electric capacity C32 one end, the 5th electricity Hold C32 other end ground connection.
As shown in Figure 8, this second gateway unit switch machine control circuit 2023 includes the 4th or door (chip Model is SN74AHC1G32DBV), the 5th resistance R36, the 6th electric capacity C33, the 4th field effect transistor Q17, wherein:
4th or the outfan of the first pin connecting valve circuit 100 of door;
4th or the second pin of door be connected to drain electrode and the 5th resistance R36 mono-of the 4th field effect transistor Q17 Between end, the 5th resistance R36 other end connects the second gateway unit 500, the 4th field effect transistor Q17 Grid connecting valve button enables the outfan of signal generating circuit 2012, its source ground;
4th or the 3rd pin ground connection of door;
4th or the 4th pin of door connect the second gateway unit 500;
4th or the 5th pin of door connect power supply 700, the 4th or the 5th pin of door be simultaneously connected with the Six electric capacity C33 one end, the 6th electric capacity C33 other end ground connection.
As it is shown in figure 9, this communication unit switching on and shutting down control circuit 2024 includes the 5th or door (chip model For SN74AHC1G32DBV), the 6th resistance R37, the 5th field effect transistor Q18, the 7th electric capacity C34, Wherein:
5th or the outfan of the first pin connecting valve circuit 100 of door;
5th or the second pin of door be connected to drain electrode and the 6th resistance R37 mono-of the 5th field effect transistor Q18 Between end, the 6th resistance R37 other end connects communication unit 300, the grid of the 5th field effect transistor Q18 Connecting valve button enables the outfan of signal generating circuit 2012, its source ground;
5th or the 3rd pin ground connection of door;
5th or door the 4th pin connect communication unit 300;
5th or the 5th pin of door connect power supply 700 and the 7th electric capacity C34 one end, the 7th electricity Hold C34 other end ground connection.
Below in conjunction with Fig. 1 to Figure 10, to exception closedown method of the present invention and device and equipped therewith The operation principle of electric energy measuring equipment illustrates:
As shown in Figure 10, VCC5_1, VCC5_2, VCC5_3, VCC5_4 represent data respectively Collecting unit is at the level state of data acquisition unit switching on and shutting down control circuit input, the first gateway unit 400 at the level state of the first gateway unit switch machine control circuit 2022 input, the second gateway unit 500 at the level state of the second gateway unit switch machine control circuit 2023 input and communication unit 300 Level state at communication unit switching on and shutting down control circuit 2024 input.
SYS represents that switch key enables output level (the i.e. switch key enable of signal generating circuit 2012 Signal).
V1, V2, V3, V4 represent first or door, second or door, the 3rd or door and the 4th or door respectively The level state of the second pin.
Figure 10 discloses level combinations in 16, reflects 16 kinds of duties of electric energy measuring equipment respectively (respectively as shown in sequence number 1 to 16).
In the level combinations that sequence number 1 provides, VCC5_1, VCC5_2, VCC5_3, VCC5_4 Be 0, represent respectively data acquisition unit, first gateway unit the 400, second gateway unit 500 and Communication unit 300 is in off-mode.Switch key enables signal generating circuit 2012 output level 1, field effect transistor Q10, field effect transistor Q16, field effect transistor Q17, field effect transistor Q18 turn on, and first Or door, second or door, the 3rd or door and the 4th or second pin (i.e. V1, V2, V3, V4) of door All ground connection, when user presses switch key SW2, the low pulse signal (PWR_BTN) of generation Electrical energy data acquiring unit switch machine control circuit the 2021, first gateway unit switch machine can be triggered and control electricity Road the 2022, second gateway unit switch machine control circuit 2023 and communication unit switching on and shutting down control circuit 2024 Perform respectively electrical energy data acquiring unit 600 power-on operation, the first gateway unit 400 power-on operation, the Two gateway unit 500 power-on operation and communication unit 300 power-on operation.
In the level combinations that sequence number 16 provides, VCC5_1, VCC5_2, VCC5_3, VCC5_4 Be 1, represent respectively data acquisition unit, first gateway unit the 400, second gateway unit 500 and Communication unit 300 is in off-mode.Switch key enables signal generating circuit 2012 output level 1, the second field effect transistor Q10, the 3rd field effect transistor Q16, the 4th field effect transistor Q17, the 5th field effect Pipe Q18 turns on, the second pin of first or door, second or door, the 3rd or door and the 4th or door (i.e. V1, V2, V3, V4) equal ground connection, when user presses switch key SW2, the low pulse signal (PWR of generation BTN) electrical energy data acquiring unit switch machine control circuit the 2021, first gateway unit switch machine can be triggered Control circuit the 2022, second gateway unit switch machine control circuit 2023 and communication unit switching on and shutting down control Circuit 2024 performs electrical energy data acquiring unit 600 power-off operation respectively, the first gateway unit 400 shuts down Operation, the second gateway unit 500 power-off operation and communication unit 300 power-off operation.
In 15 kinds of level combinations of this shown in sequence number 2 to 15, VCC5_1, VCC5_2, VCC5_3, The level state of VCC5_4 is inconsistent, represents the monitoring component that there is abnormal shutdown in electric energy measuring equipment (in data acquisition unit, first gateway unit the 400, second gateway unit 500 and communication unit 300 One or more).It is 0 that switch key enables signal generating circuit 2012 output level, the second field effect Pipe Q10, the 3rd field effect transistor Q16, the 4th field effect transistor Q17, the 5th field effect transistor Q18 are in Cut-off state, the second pin of first or door, second or door, the 3rd or door and the 4th or door (i.e. V1, V2, V3, V4) level state respectively by data acquisition unit, first gateway unit the 400, second net The on-off state of lock unit 500 and communication unit 300 determines (start is 1, and shutdown is 0).
As abnormal shutdown, then the of second or door of the first gateway unit 400 occurs in the first gateway unit 400 The level state of two pins (V2) is 0, now, electric energy measuring equipment management personnel can by compress switch by Key, to the first pin output low pulse signal of the first gateway unit switch machine control circuit 2022, then the Two or the first pin of door be high level, the first gateway unit switch machine control circuit 2022 can be to the first net Lock unit 400 transmission start control signal, makes abnormal the first gateway unit 400 shut down turn back on.
As the first gateway unit 400 is in normal boot-strap state, then second or door of the first gateway unit 400 The second pin (V2) be high level, if electric energy measuring equipment management personnel press switch key, to First pin output low pulse signal of one gateway unit switch machine control circuit 2022, then second or door First pin and the second pin are high level, and the first gateway unit switch machine control circuit 2022 does not performs Any operation, the first gateway unit 400 still maintains open state.
It follows that when abnormal power down condition occurs in monitoring component, press switch key, exception can be triggered The monitoring component of shutdown turns back on, and the monitoring component of normal boot-strap still maintains open state, switch to press Key only acts on the monitoring component of abnormal shutdown.
To sum up, when the application is the parts appearance abnormal shutdown overcome in prior art in electric energy measuring equipment Can only be forced to use direct power down process measure, it is most likely that cause device damage and hard disc data to be lost Defect, have employed one and the most extremely shuts down processing scheme, this abnormal shutdown processing scheme good Place is: when occurring the situation of the abnormal shutdown of monitoring component in the application electric energy measuring equipment running, Electric energy measuring equipment management personnel only need to press switch key, can be by the monitoring component of abnormal shutdown Recover start, and the open state of the monitoring component of normal boot-strap can be maintained constant, in order in abnormal shutdown Monitoring component recover to obtain from system journal after open state the exception of the monitoring component that this exception is shut down According to the exception shutdown reason of the monitoring component of this exception shutdown, shutdown reason, decides whether that electricity is restarted in synchronization Can all monitoring components of measuring equipment, thus avoid customary in the art by direct for equipment power-off measure The component damage being likely to result in, the situation of loss of data, improve the operation stability of electric energy measuring equipment.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, Can be by computer program and complete to instruct relevant hardware, described program can be stored in a meter In calculation machine read/write memory medium, this program is upon execution, it may include such as the embodiment of above-mentioned each method Flow process.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read Only Memory, ROM) or random store-memory body (Random ABBess Memory, RAM) etc..
Above in conjunction with accompanying drawing, embodiments of the invention are described, but the invention is not limited in above-mentioned Detailed description of the invention, above-mentioned detailed description of the invention is only schematic rather than restrictive, Those of ordinary skill in the art is under the enlightenment of the present invention, without departing from present inventive concept and claim Under the ambit protected, it may also be made that a lot of form, within these belong to the protection of the present invention.

Claims (10)

1. the exception shutdown processing method being applied to electric energy measuring equipment, it is characterised in that described side Method comprises the steps:
After S1, start, by fault detection module to its each monitoring component lower in fault processing module The level state of input detects, and judges at least one monitoring component according to level state testing result When there is abnormal shutdown, send switch key to fault processing module and enable signal;
S2, fault processing module receive switch key and enable signal, and during switch key pressing signal, The monitoring component being controlled abnormal shutdown by corresponding monitoring component switching on and shutting down control circuit under it is opened again Machine, and maintain the open state of the monitoring component of normal boot-strap constant;
S3, exception monitoring parts recover start time, obtain from system journal this exception shut down monitoring The exception shutdown reason of parts, decides whether according to the exception shutdown reason of the monitoring component of this exception shutdown Synchronize to restart all monitoring components of electric energy measuring equipment.
2. it is applied to an exception shutdown processing means for electric energy measuring equipment, described electric energy measuring equipment bag Include power supply, for starting the on-off circuit of electric energy measuring equipment, for the power consumption values of reading power meters Electrical energy data acquiring unit, for connecting the first gateway unit of Intranet, be used for making electric energy measuring equipment The second gateway unit of isolating is carried out, for read power consumption values being uploaded to energy consumption control by Intranet with outer net The communication unit at center processed, it is characterised in that described abnormal shutdown processing means includes:
Fault detection module, after electric energy measuring equipment is started shooting, according to communication unit, the first gateway Unit, the second gateway unit and electrical energy data acquiring unit are in the level signal of fault processing module input Judge in communication unit, the first gateway unit, the second gateway unit and electrical energy data acquiring unit is any During the abnormal shutdown of one or more appearance, send starting key to fault processing module and enable signal;
Fault processing module, when being used for receiving switch key enable signal and switch key pressing signal, The monitoring component being controlled abnormal shutdown by corresponding monitoring component switching on and shutting down control circuit under it is opened again Machine, the open state simultaneously maintaining the monitoring component of normal boot-strap is constant, and wherein, this monitoring component switchs Machine control circuit includes electrical energy data acquiring unit switch machine control circuit, the first gateway unit switch machine control Circuit processed, the second gateway unit switch machine control circuit and communication unit switching on and shutting down control circuit.
The exception shutdown processing means being applied to electric energy measuring equipment the most according to claim 2, its It is characterised by:
Described fault detection module includes:
Level sensitive circuit, is connected to the communication unit of fault processing module, the first gateway list for detection Unit, the second gateway unit and the level state of electrical energy data acquiring unit, judge logical according to this level state Whether letter unit, the first gateway unit, the second gateway unit and electrical energy data acquiring unit there is abnormal pass Machine;
Switch key enables signal generating circuit, when abnormal shutdown occurs in a certain monitoring component, to this Monitoring component switching on and shutting down control circuit input switch button enables signal.
The exception shutdown processing means being applied to electric energy measuring equipment the most according to claim 3, its Be characterised by, described switch key enable signal generating circuit include the first XOR gate, the second XOR gate, 3rd XOR gate, first or door with three inputs, the first electric capacity, the second electric capacity, the 3rd electric capacity, First field effect transistor, the first resistance, wherein:
First pin of the first XOR gate connects electrical energy data acquiring unit, the second pin of the first XOR gate Connecting the first gateway unit, the 3rd pin ground connection of the first XOR gate, the 4th pin of the first XOR gate is even Connecing the first pin of first or door, the 5th pin of the first XOR gate is connected to power supply and the first electric capacity Between one end, the first electric capacity other end ground connection;
First pin of the second XOR gate connects communication unit, and the second pin of the second XOR gate connects second Gateway unit, the 3rd pin ground connection of the second XOR gate, the second XOR gate the 4th pin connect first or Second pin of door, the 5th pin of the second XOR gate is connected between power supply and second electric capacity one end, Second electric capacity other end ground connection;
First pin of the 3rd XOR gate connects electrical energy data acquiring unit, the second pin of the 3rd XOR gate Connecting the second gateway unit, the 3rd pin ground connection of the 3rd XOR gate, the 4th pin of the 3rd XOR gate is even Connecing the 8th pin of first or door, the 5th pin of the 3rd XOR gate is connected to power supply and the 3rd electric capacity Between one end, the 3rd electric capacity other end ground connection;
First or the 7th pin ground connection of door, first or the 14th pin of door connect power supply, first Or the 9th pin of door connects the grid of the first field effect transistor, the source ground of the first field effect transistor, first The drain electrode of field effect transistor connects first resistance one end, and the drain electrode of the first field effect transistor is simultaneously connected to electric energy number According to collecting unit switching on and shutting down 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 first resistance other end connects power supply Power supply.
The exception shutdown processing means being applied to electric energy measuring equipment the most according to claim 4, its Being characterised by, described on-off circuit includes the second resistance, switch, wherein:
First contact ground of switch, the second contact of switch connects second resistance one end, the second of switch Contact is simultaneously connected to electrical energy data acquiring unit switch machine control circuit, the first gateway unit switch machine control Circuit processed, the second gateway unit switch machine control circuit and communication unit switching on and shutting down control circuit, the The two resistance other ends connect power supply.
The exception shutdown processing means being applied to electric energy measuring equipment the most according to claim 5, its Being characterised by, described electrical energy data acquiring unit switch machine control circuit includes second or door, second effect Ying Guan, the 3rd resistance, the 4th electric capacity, wherein:
Second or the outfan of the first pin connecting valve circuit of door;
Second or the second pin of door be connected to the 3rd resistance one end and the second field effect transistor drain electrode it Between, the 3rd resistance other end connects electrical energy data acquiring unit, the grid connecting valve of the second field effect transistor Button enables the outfan of signal generating circuit, and its source electrode connects ground connection;
Second or the 3rd pin ground connection of door;
Second or the 4th pin of door be connected to electrical energy data acquiring unit;
Second or the 5th pin of door connect power supply and the 4th electric capacity one end, the 4th electric capacity other end Ground connection.
The exception shutdown processing means being applied to electric energy measuring equipment the most according to claim 6, its Be characterised by, described first gateway unit switch machine control circuit include the 3rd or door, the 3rd field effect transistor, 4th resistance, the 5th electric capacity, wherein:
3rd or the outfan of the first pin connecting valve circuit of door;
3rd or the second pin of door be connected between the 4th resistance one end and the drain electrode of the 3rd field effect transistor, The 4th resistance other end connects the first gateway unit, and the grid connecting valve button of the 3rd field effect transistor enables The outfan of signal generating circuit, its source ground;
3rd or the 3rd pin ground connection of door;
3rd or the 4th pin of door connect the first gateway unit;
3rd or the 5th pin of door connect power supply and the 5th electric capacity one end, the 5th electric capacity other end Ground connection.
The exception shutdown processing means being applied to electric energy measuring equipment the most according to claim 7, its Be characterised by, described second gateway unit switch machine control circuit include the 4th or door, the 5th resistance, Six electric capacity, the 4th field effect transistor, wherein:
4th or the outfan of the first pin connecting valve circuit of door;
4th or the second pin of door be connected between drain electrode and the 5th resistance one end of the 4th field effect transistor, The 5th resistance other end connects the second gateway unit, and the grid connecting valve button of the 4th field effect transistor enables The outfan of signal generating circuit, its source ground;
4th or the 3rd pin ground connection of door;
4th or the 4th pin of door connect the second gateway unit;
4th or the 5th pin of door connect power supply, the 4th or the 5th pin of door be simultaneously connected with the 6th Electric capacity one end, the 6th electric capacity other end ground connection.
The exception shutdown processing means being applied to electric energy measuring equipment the most according to claim 8, its Be characterised by, described communication unit switching on and shutting down control circuit include the 5th or door, the 6th resistance, the 5th Effect pipe, the 7th electric capacity, wherein:
5th or the outfan of the first pin connecting valve circuit of door;
5th or the second pin of door be connected between drain electrode and the 6th resistance one end of the 5th field effect transistor, The 6th resistance other end connects communication unit, and the grid connecting valve button of the 5th field effect transistor enables signal The outfan of generative circuit, its source ground;
5th or the 3rd pin ground connection of door;
5th or door the 4th pin connect communication unit;
5th or the 5th pin of door connect power supply and the 7th electric capacity one end, the 7th electric capacity other end Ground connection.
10. an electric energy measuring equipment, including power supply, for starting the switch of electric energy measuring equipment Circuit, for reading power meters power consumption values electrical energy data acquiring unit, for connecting the first of Intranet Gateway unit, for making the second gateway unit that electric energy measuring equipment and outer net carry out isolating, for passing through Read power consumption values is uploaded to the communication unit of energy consumption control centre by Intranet, it is characterised in that described electric energy Measuring equipment also includes the exception shutdown processing means as described in arbitrary in claim 2 to 9.
CN201510312552.0A 2015-06-09 2015-06-09 Abnormal shutdown processing method and processing device and electric energy measuring equipment equipped therewith Expired - Fee Related CN106291438B (en)

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 true CN106291438A (en) 2017-01-04
CN106291438B 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
徐东辉: "一种消防网络智能监控系统", 《辽东学院学报(自然科学版)》 *
杜磊: "电脑意外关机应急处理方法", 《计算机与网络》 *

Also Published As

Publication number Publication date
CN106291438B (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN101043144B (en) Electrical source managing method of portable electronic products and apparatus thereof
CN104603759B (en) Non-volatile domain and array wake up and the sequence control of the configuration bit of backup
CN102183720B (en) Safety digital quantity acquiring circuit and realizing method thereof
CN101615152B (en) Method and device for detecting hot plug fault of storage card
CN105842554B (en) Hardware fault detection method, detection system and the intelligent terminal of intelligent terminal
CN103971742A (en) Nonvolatile Logic Array With Built-in Test Drivers
CN103973272A (en) Error detection in nonvolatile logic arrays using parity
CN107766189A (en) Server restarts the method for testing of stability automatically under a kind of Windows systems
CN101441589A (en) Detection method of substrate management controller and server thereof
CN115083510B (en) Solid state disk testing method and device, storage medium, power supply and electronic equipment
CN107169388A (en) Realize the automatization test system and method for testing of SIM card hot plug function
CN104102290B (en) Server
CN107359697A (en) New power backup circuit, method of supplying power to and its complete controller of manufactured taiwan area
CN107179972A (en) For the method for calculation machine, microcontroller, test equipment and test system
CN106291438A (en) Abnormal shutdown processing method and processing device and electric energy measuring equipment equipped therewith
CN111707966A (en) CPLD electric leakage detection method and device
CN206258817U (en) Power control and computer
CN103971748A (en) Memory card detection circuit and method
CN104503881B (en) The method of handheld device consumption detection, device and handheld device
CN206195344U (en) Protective circuit
CN103779838B (en) Switching power supply management circuit system
CN103648029B (en) The energising guard method of intelligent television and system
CN108280005A (en) A kind of method and system of test NVDIMM memory power-off protections
CN105391833A (en) Mobile terminal-based memory data loss test system and method
CN102591407A (en) Main board

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

Granted publication date: 20190607

Termination date: 20210609

CF01 Termination of patent right due to non-payment of annual fee