CN107678324B - Printer governor circuit status inquiry system - Google Patents

Printer governor circuit status inquiry system Download PDF

Info

Publication number
CN107678324B
CN107678324B CN201710709061.9A CN201710709061A CN107678324B CN 107678324 B CN107678324 B CN 107678324B CN 201710709061 A CN201710709061 A CN 201710709061A CN 107678324 B CN107678324 B CN 107678324B
Authority
CN
China
Prior art keywords
unit
governor circuit
inquiry
printer
query
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.)
Active
Application number
CN201710709061.9A
Other languages
Chinese (zh)
Other versions
CN107678324A (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.)
Ligong Industry Co., Ltd., Guangzhou
Original Assignee
LIGONG INDUSTRY Co Ltd GUANGZHOU
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 LIGONG INDUSTRY Co Ltd GUANGZHOU filed Critical LIGONG INDUSTRY Co Ltd GUANGZHOU
Priority to CN201710709061.9A priority Critical patent/CN107678324B/en
Publication of CN107678324A publication Critical patent/CN107678324A/en
Application granted granted Critical
Publication of CN107678324B publication Critical patent/CN107678324B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses a kind of printer governor circuit status inquiry systems, including reading unit;Display unit;Communication unit;Connect verification unit;Unit is completed in resolution logic collection unit and inquiry.The beneficial effects of the invention are as follows for the heavy workload occurred in printing equipment governor circuit status inquiry work, the status of time-consuming and laborious and easy error, printing equipment governor circuit status data can be obtained moment using this method, this method does not recombinate sequence and calculates, the data context needed is less, the computing resource of occupancy is small, and inquiry has achieved the effect that reduce search space, Lai Shixian quick search.Working efficiency will be effectively improved, and avoids the possibility of maloperation, the recovery time after being greatly saved printer failure facilitates printer operation and service work.

Description

Printer governor circuit status inquiry system
Technical field
The invention belongs to big data fields, in particular to a kind of printer governor circuit status inquiry system.
Background technique
The Control protection system of most domestic digital printing apparatus is the monolithic in control protection printer governor circuit Machine, it is the command centre of digital printing, is mainly responsible for data processing, operation control, system protection etc..Electric current can pass through driving Circuit flows to the main line of printer governor circuit, the main line voltage rapid increase of printer governor circuit is caused, if not Timely stopping alarm, it will cause burning for motor control single-chip microcontroller.It, cannot if occurring for the single-chip microcontroller being abnormal There is tuning error etc. in abnormal conditions, outlet signal check omission or the query process restored as early as possible, all will directly threaten printing The safe and stable operation of machine governor circuit.
Summary of the invention
A kind of printer governor circuit status inquiry system is provided the purpose of the invention is to overcome above-mentioned insufficient.
To achieve the above object, the technical solution adopted by the present invention is that:
Including reading unit;Display unit;Communication unit;Connect verification unit;Resolution logic collection unit and inquiry Complete unit.
The reading unit: for reading the configuration for recording the governor circuit information of printer governor circuit of inquiry in need File;
Display unit: for being loaded into governor circuit information in configuration file and being shown;
Communication unit: it is communicated for establishing the single-chip microcontroller of inquiry system and printer governor circuit;
Connect verification unit: for judging that can inquiry system normally be connected to printer governor circuit, as can under then turning Otherwise one step shows the prompt of connection failure and return;
Resolution logic collection unit: the status data of printer governor circuit is read for inquiry system, and by described Configuration file carries out parsing to status data and logic summarizes, that is, judges whether printer governor circuit status data includes to force Outage record and alarm logging;
Unit is completed in inquiry: being sent to display unit for completing query process, and by query result.
The resolution logic collection unit includes establishing catalog unit, and loading unit, coding unit is overlapped detection unit, Identify unit and screening unit.
Described to establish catalog unit: the printer governor circuit status data for reading inquiry system establishes inquiry mesh Record, and store and arrive database;
Loading unit: for when inquiry system receives inquiry instruction, query directory to be loaded into memory;
Coding unit: for encoding the range of inquiry instruction and condition, the inquiry indicated with coded data is obtained Instruction;
Be overlapped detection unit: for successively to all query directories loaded into memory according to inquiry instruction range and Condition accesses, and the corresponding data of each query directory carry out Chong Die detection with the coded data of inquiry instruction and calculate;
Mark unit: prepared mark is stamped with the corresponding query directory that inquiry instruction is overlapped for will be deemed as;
Screening unit: for being identified with the time range screening preparation of inquiry instruction, most according to inquiry instruction specific requirements Qualified query result is obtained eventually.
When in the resolution logic collection unit do not include forced stoppage record and alarm logging, complete query process after It carries out turning back on operation, booting carries out Fault Control while operation.
The beneficial effects of the invention are as follows for the heavy workload occurred in printing equipment governor circuit status inquiry work, take When status laborious and that be easy error, printing equipment governor circuit status data, this method can be obtained moment using this method It does not recombinate sequence to calculate, the data context needed is less, and the computing resource of occupancy is small, and inquiry has reached diminution search space Effect, Lai Shixian quick search.Working efficiency will be effectively improved, and avoids the possibility of maloperation, is greatly saved printer event Recovery time after barrier facilitates printer operation and service work.
Detailed description of the invention
Fig. 1 is inquiry system structural schematic diagram;
Fig. 2 is resolution logic collection unit structural schematic diagram in Fig. 1;
Fig. 3 is fault control system structural schematic diagram;
Fig. 4 is processor module structural schematic diagram in Fig. 3;
Specific embodiment
The present invention is further illustrated with reference to the accompanying drawings and embodiments.
A kind of printer governor circuit status inquiry system, including reading unit;Display unit;Communication unit;Connect school Verification certificate member;Unit is completed in resolution logic collection unit and inquiry.
The reading unit: for reading the configuration for recording the governor circuit information of printer governor circuit of inquiry in need File;
Display unit: for being loaded into governor circuit information in configuration file and being shown;
Communication unit: it is communicated for establishing the single-chip microcontroller of inquiry system and printer governor circuit;
Connect verification unit: for judging that can inquiry system normally be connected to printer governor circuit, as can under then turning Otherwise one step shows the prompt of connection failure and return;
Resolution logic collection unit: the status data of printer governor circuit is read for inquiry system, and by described Configuration file carries out parsing to status data and logic summarizes, that is, judges whether printer governor circuit status data includes to force Outage record and alarm logging;
Unit is completed in inquiry: being sent to display unit for completing query process, and by query result.
The display unit include capacitor C1, capacitor C2, capacitor C3, capacitor C4, capacitor C5, capacitor C6, display chip M1, Pin 1 and 2 after communication chip T1 and triode Q1, the capacitor C1, capacitor C2 and capacitor C3 are in parallel with display chip M1 Connection, the emitter of the triode Q1 are connect with the pin 3 of display chip M1, the base stage and display chip of the triode Q1 The pin 4 of M1 connects, and the capacitor C6 is connected to the collector of triode Q1, and the communication chip T1 and display chip M1's draws Foot 5 is connected with pin 6, is connected after the capacitor C4 and C5 parallel connection with the pin 7 of display chip M1.
The resolution logic collection unit includes establishing catalog unit, and loading unit, coding unit is overlapped detection unit, Identify unit and screening unit.
Described to establish catalog unit: the printer governor circuit status data for reading inquiry system establishes inquiry mesh Record, and store and arrive database;
Loading unit: for when inquiry system receives inquiry instruction, query directory to be loaded into memory;
Coding unit: for encoding the range of inquiry instruction and condition, the inquiry indicated with coded data is obtained Instruction;
Be overlapped detection unit: for successively to all query directories loaded into memory according to inquiry instruction range and Condition accesses, and the corresponding data of each query directory carry out Chong Die detection with the coded data of inquiry instruction and calculate;
Mark unit: prepared mark is stamped with the corresponding query directory that inquiry instruction is overlapped for will be deemed as;
Screening unit: for being identified with the time range screening preparation of inquiry instruction, most according to inquiry instruction specific requirements Qualified query result is obtained eventually.
The folded detection unit is specifically used for returning to the query directory paragraph of all ranges for meeting inquiry instruction and condition, Catalogue is rebuild after query directory is split into query directory section, query result recombinates query directory before returning, returns to all fall The query directory paragraph of the range and condition that enter inquiry instruction can be comprising non-qualified data, last calculation code data bit Length after operation is exactly the quantity of the corresponding overlapping region of two query directories, when the quantity of overlapping region is 0, then completely It is not overlapped, when the quantity of overlapping region is not 0, then two coded datas have intersection.
The screening unit is specifically used for prepare the first item of the query directory in mark and last item in the model of inquiry instruction It encloses and is removed in condition;In preparation mark, the length of each query directory coding is calculated, and it is corresponding to calculate inquiry instruction Length after encoding operation Chong Die with query directory coding;When query directory code length is greater than the length of overlapping operation, by this Query directory is cached, and the query directory of caching and the query directory of return are merged, and is returned as inquiry;Conversely, will return The query directory returned is verified, and the query directory for meeting inquiry instruction is obtained.
When in the resolution logic collection unit do not include forced stoppage record and alarm logging, complete query process after Turn back on operation, booting operation while, carries out Fault Control, the fault control method the following steps are included:
Step 1: system initialization;
Step 2: the main line of acquisition printer governor circuit and the analog signal of driving circuit, to collected simulation Signal is handled, and processed signal is then packaged into message and is sent to processor module;
Step 3: processor module carries out fault logic judgement according to the message, and by fault logic judging result editor At log text;
Step 4: processor module carries out Fault Control to the printer governor circuit according to fault logic judging result.
It is described acquisition printer governor circuit main line and driving circuit analog signal before the following steps are included:
Establish test case;
Send single-chip microcontroller of the test case into the governor circuit of the tested printer.
It is described collected analog signal is handled specifically includes the following steps:
Collected analog signal is filtered;
Then filtered analog signal is converted into digital signal.
The analog signal acquired in the step 2 is current signal and voltage signal.
It carries out fault logic judgement and failure is carried out to the printer governor circuit according to fault logic judging result Control the following steps are included:
When printer governor circuit main line electric current flow direction be timing, n printer governor circuit of continuous acquisition Main line voltage value, and ascending it is arranged as V1, V2, V3..., Vn, then the sample of the main line voltage of printer governor circuit Mean value and sample standard deviation are respectively as follows:
Using Grubbs test method to the main line voltage sample of the printer governor circuit of acquisition into
The detection and rejecting of row outlier, Counting statistics amount:
It determines and detects horizontal α, corresponding n, the critical value G of α are found in Grubbs Law tables of critical values1-α(n);
Determine whether to work as G with outliern> G 'nAnd Gn> G1-α(n), determine VnFor outlier;As G 'n> GnAnd G 'n > G1-α(n), then determine V1For outlier;Otherwise it is judged to no outlier;
After rejecting outlier, printer is recalculated according to the main line voltage sample value of remaining printer governor circuit The mean value of the main line voltage of governor circuit, the current value of the main line voltage as printer governor circuit
Read printer governor circuit driving circuit voltage value, use with upper type carry out outlier detection with pick It removes, obtains the driving circuit voltage current value of printer governor circuit
IfWithValue it is close, illustrate that system is normal,WithValue be added after be averaged as currently beating The main line voltage value of print machine governor circuit
IfWithValue difference it is larger, illustrate that printer governor circuit has already appeared failure;IfFront and back 5 times Value differ larger, explanationBe likely to occur problem, at this time ifNearest 5 values are not much different, and should use at this timeMost Main line voltage of the average value of nearly several sub-values as current printer governor circuit;IfThe value difference that front and back is 5 times is larger, ExplanationBe likely to occur problem, at this time ifNearest 5 values are not much different, Ying CaiyongValue several times is averaged recently It is worth the main line voltage as current printer governor circuit;
IfWithValue difference it is larger, andA few sub-value differences are also larger before and after the two itself, illustrate to beat There is catastrophe failure in print machine governor circuit;OrWithValue difference it is larger, although5 sub-values before and after the two itself It is not much different, also illustrates that catastrophe failure occurs in printer governor circuit, alarm signal should all be issued at this time and shut down.
Fault control system used in the above method includes alarm module, processor module, current acquisition module, voltage reading Modulus block and voltage acquisition module, the signal input part phase of the signal output end all the way and alarm module of the processor module Even, the another way signal output end of the processor module and the signal of power switch control module in printer governor circuit are defeated Enter end to be connected, the signal output end and processor die of the current acquisition module, voltage read module and voltage acquisition module The signal input part of block is connected, and the signal acquisition terminal of the current acquisition module and voltage acquisition module connects printer master control The main line of circuit, the signal-obtaining end of the voltage read module connect the driving circuit in printer governor circuit.
The current acquisition module is used to acquire the main line electric current of printer governor circuit;
The voltage acquisition module is used to acquire the main line voltage value of printer governor circuit;
The voltage read module is used to read the voltage value of driving circuit;
The processor module is used to read the signal of printer governor circuit, and carries out fault logic to the signal of reading Judgement, and Fault Control is carried out to the printer governor circuit according to fault logic judging result.
The alarm module is used to receive the fault message of processor module sending and alarms.
The processor module specifically includes:
Current direction judging unit, the flow direction of the main line electric current for judging printer governor circuit, as printing owner The flow direction for controlling the main line electric current of circuit is timing, notifies the master of n printer governor circuit of voltage acquisition module continuous acquisition Line voltage value;
Voltage alignment unit, for by the ascending row of main line voltage value of n printer governor circuit of continuous acquisition It is classified as V1, V2, V3..., Vn
Voltage sample mean value and sample standard deviation computing unit, for calculating printer governor circuit according to the following formula Main line voltage sample mean value and sample standard deviation, the sample average of voltage are as follows:
The sample standard deviation value of voltage are as follows:
Outlier culling unit plays acquisition using Grubbs test method for rejecting outlier according to the following formula The main line voltage sample of print machine governor circuit carries out the detection and rejecting of outlier, Counting statistics amount:
It determines and detects horizontal α, corresponding n, the critical value G of α are found in Grubbs Law tables of critical values1-α(n);
Determine whether to work as G with outliern> G 'nAnd Gn> G1-α(n), determine VnFor outlier;As G 'n> GnAnd G 'n > G1-α(n), then determine V1For outlier;Otherwise it is judged to no outlier;
Main line voltage computation unit, for the main line voltage of remaining printer governor circuit after outlier will to be rejected Sampled value recalculates the mean value of the main line voltage of printer governor circuit, the main line voltage as printer governor circuit Current value
Driving circuit voltage computation unit peels off for reading the driving circuit voltage value of printer governor circuit The detection and rejecting of value, obtain driving circuit voltage current value
Comparing unit, for comparing the current value of main line voltageWith driving circuit voltage current valueIt is whether close;
Judging unit, for being judged according to following rule, ifWithValue it is close, illustrate that system is normal, WithValue be added after be averaged main line voltage value as current printer governor circuitIfWithValue It differs larger, illustrates that printer governor circuit has already appeared failure;IfThe value that front and back is 5 times differs larger, explanationIt may Go wrong, at this time ifNearest 5 values are not much different, and should use at this timeThe average value of nearest several sub-values, which is used as, works as The main line voltage of preceding printer governor circuit;IfThe value that front and back is 5 times differs larger, explanationIt is likely to occur problem, this Shi RuguoNearest 5 values are not much different, Ying CaiyongThe average value of value several times is as current printer master control electricity recently The main line voltage on road;IfWithValue difference it is larger, andA few sub-value differences are also larger before and after the two itself, Illustrate that catastrophe failure occurs in printer governor circuit;OrWithValue difference it is larger, althoughBefore and after the two itself 5 sub-values are not much different, and also illustrate that catastrophe failure occurs in printer governor circuit;
Alarm signal trigger unit, for triggering and reporting to alarm module when catastrophe failure occurs in printer governor circuit Alert signal;
Stopping signal trigger unit, for controlling mould to power switch when catastrophe failure occurs in printer governor circuit Block triggers stopping signal.

Claims (1)

1. a kind of printer governor circuit status inquiry system, it is characterised in that including reading unit;Display unit;Communication is single Member;Connect verification unit;Unit is completed in resolution logic collection unit and inquiry;The reading unit: it is needed for reading to record to have The configuration file of the governor circuit information of the printer governor circuit to be inquired;
Display unit: for being loaded into governor circuit information in configuration file and being shown;
Communication unit: it is communicated for establishing the single-chip microcontroller of inquiry system and printer governor circuit;
Connect verification unit: for judging that can inquiry system normally be connected to printer governor circuit, as can then turn in next step, Otherwise the prompt of connection failure and return are shown;
Resolution logic collection unit: the status data of printer governor circuit is read for inquiry system, and passes through the configuration File carries out parsing to status data and logic summarizes, that is, judges whether printer governor circuit status data includes forced stoppage Record and alarm logging;
Unit is completed in inquiry: being sent to display unit for completing query process, and by query result;The resolution logic summarizes Unit includes establishing catalog unit, and loading unit, coding unit is overlapped detection unit, identifies unit and screening unit;
Described to establish catalog unit: the printer governor circuit status data for reading inquiry system establishes query directory, And it stores and arrives database;
Loading unit: for when inquiry system receives inquiry instruction, query directory to be loaded into memory;
Coding unit: for encoding the range of inquiry instruction and condition, the inquiry instruction indicated with coded data is obtained;
It is overlapped detection unit: for successively to all query directories loaded into memory according to the range and condition of inquiry instruction It accesses, the corresponding data of each query directory carry out Chong Die detection with the coded data of inquiry instruction and calculate;
Mark unit: prepared mark is stamped with the corresponding query directory that inquiry instruction is overlapped for will be deemed as;
Screening unit: for finally being obtained according to inquiry instruction specific requirements with the time range screening preparation mark of inquiry instruction Obtain qualified query result;When in the resolution logic collection unit do not include forced stoppage record and alarm logging, it is complete It carries out turning back on operation later at query process, booting carries out Fault Control while operation.
CN201710709061.9A 2017-08-17 2017-08-17 Printer governor circuit status inquiry system Active CN107678324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710709061.9A CN107678324B (en) 2017-08-17 2017-08-17 Printer governor circuit status inquiry system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710709061.9A CN107678324B (en) 2017-08-17 2017-08-17 Printer governor circuit status inquiry system

Publications (2)

Publication Number Publication Date
CN107678324A CN107678324A (en) 2018-02-09
CN107678324B true CN107678324B (en) 2019-09-27

Family

ID=61135030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710709061.9A Active CN107678324B (en) 2017-08-17 2017-08-17 Printer governor circuit status inquiry system

Country Status (1)

Country Link
CN (1) CN107678324B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019146A (en) * 2012-12-25 2013-04-03 湖北省电力公司检修分公司 Query method of state query system for control and protection mainframe of direct-current converter station
CN104298180A (en) * 2013-07-16 2015-01-21 沈阳中科博微自动化技术有限公司 Alarm data processing method for integrated circuit factory automation system
CN105117980A (en) * 2015-08-24 2015-12-02 云南电网有限责任公司 Power grid equipment state automatic evaluation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019146A (en) * 2012-12-25 2013-04-03 湖北省电力公司检修分公司 Query method of state query system for control and protection mainframe of direct-current converter station
CN104298180A (en) * 2013-07-16 2015-01-21 沈阳中科博微自动化技术有限公司 Alarm data processing method for integrated circuit factory automation system
CN105117980A (en) * 2015-08-24 2015-12-02 云南电网有限责任公司 Power grid equipment state automatic evaluation method

Also Published As

Publication number Publication date
CN107678324A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN106209405B (en) Method for diagnosing faults and device
CN103944973A (en) Method and device for collecting logs
CN111756582A (en) Service chain monitoring method based on NFV log alarm
CN102521128B (en) Software fault tolerance method facing cloud platform
CN108919044B (en) Active identification method for unit distribution power grid faults based on mutual verification mechanism
CN101197621A (en) Method and system for remote diagnosing and locating failure of network management system
CN111537916B (en) Voltage sampling chip power supply ground disconnection fault diagnosis method, device and equipment
CN112491622A (en) Method and system for positioning fault root cause of business system
CN109445304A (en) A kind of intelligent fault analysis system and method based on cab signal
CN106130778A (en) A kind of method processing clustering fault and a kind of management node
CN113672456A (en) Modular self-monitoring method, system, terminal and storage medium of application platform
CN113542026A (en) Internet of things equipment fault positioning method, device, equipment and storage medium
WO2024148857A1 (en) Method and apparatus for filtering root cause of server fault, and non-volatile readable storage medium and electronic apparatus
CN115333923B (en) Fault point tracing analysis method, device, equipment and medium
CN108809729A (en) The fault handling method and device that CTDB is serviced in a kind of distributed system
CN109239489A (en) A kind of health status on-line analysis, device and medium for energy-storage system
CN107678324B (en) Printer governor circuit status inquiry system
CN101252477A (en) Determining method and analyzing apparatus of network fault root
CN109599946A (en) A kind of Efficient fault diagnostic method of power distribution automation switch
CN107703787B (en) Digital printing apparatus fault control method based on big data
CN114584453B (en) Fault analysis method and device for application system
CN110703032A (en) Power grid fault positioning method
CN110543394A (en) server sensor information consistency testing method, system, terminal and storage medium
CN114500178B (en) Self-operation intelligent Internet of things gateway
CN113608959B (en) Method, system, terminal and storage medium for positioning fault hard disk

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20190903

Address after: 510450 No. 15, Longhuanwei Straight Street, Huanjiao Village, Shijing Town, Baiyun District, Guangzhou City, Guangdong Province

Applicant after: Ligong Industry Co., Ltd., Guangzhou

Address before: 430000 Wuhu Farm Team of Huangpi District, Wuhan City, Hubei Province

Applicant before: Wuhan friendship Technology Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant