CN110764973A - Complete machine equipment power-off system and method based on identification of shutdown state of industrial control host - Google Patents

Complete machine equipment power-off system and method based on identification of shutdown state of industrial control host Download PDF

Info

Publication number
CN110764973A
CN110764973A CN201911073559.6A CN201911073559A CN110764973A CN 110764973 A CN110764973 A CN 110764973A CN 201911073559 A CN201911073559 A CN 201911073559A CN 110764973 A CN110764973 A CN 110764973A
Authority
CN
China
Prior art keywords
control host
industrial control
power
power supply
serial port
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.)
Pending
Application number
CN201911073559.6A
Other languages
Chinese (zh)
Inventor
韩伟平
袁茂林
彭冬秀
王立辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Acme Technology Co Ltd
Original Assignee
Shenzhen Acme 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 Acme Technology Co Ltd filed Critical Shenzhen Acme Technology Co Ltd
Priority to CN201911073559.6A priority Critical patent/CN110764973A/en
Publication of CN110764973A publication Critical patent/CN110764973A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • 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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Automation & Control Theory (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a complete machine equipment power-off system and a complete machine equipment power-off method based on the identification of the shutdown state of an industrial control host, which are applied to self-service equipment provided with the industrial control host, wherein the industrial control host comprises a power supply module and a serial port; the power supply module is electrically connected with the MCU, and the MCU is electrically connected with the power supply module; the first end of the on-off state monitoring module is connected with the serial port, receives the real-time voltage value of the serial port, and matches the real-time voltage value of the serial port with the working voltage range of the serial port to obtain the running state of the industrial control host; the voltage value obtained through the serial port is the most direct physical measurement data, the most reliable and real data, then the use state of the industrial control host is judged, the time when the industrial control host enters the shutdown state can be accurately captured, and then the MCU information processing module controls the power supply module to be shut down, so that one-key shutdown is realized; the power on/off of the power supply of the industrial personal computer is reliably and efficiently controlled, electric energy can be saved, and damage to the power supply or a system of the industrial personal computer is reduced.

Description

Complete machine equipment power-off system and method based on identification of shutdown state of industrial control host
Technical Field
The invention relates to the technical field of industrial personal computers, in particular to a complete machine equipment power-off system and a complete machine equipment power-off method based on identification of the shutdown state of an industrial personal computer.
Background
Industrial Personal Computer (IPC), is a general name for tools that use a bus structure to detect and control production processes, electromechanical devices, and process equipment. The industrial personal computer has important computer attributes and characteristics, such as a computer mainboard, a CPU, a hard disk, a memory, peripherals and interfaces, an operating system, a control network and protocol, computing capability and a friendly human-computer interface. The industrial control computer is a stable, reliable, embedded and intelligent computer for other industries, and has a very wide development prospect.
When the self-service device with the industrial personal computer is powered on for control, such as a roadside vending machine, a self-service registration machine in a hospital hall, etc., due to the construction principle of the self-service device, the self-service device with the industrial personal computer is normally powered off as follows: firstly, an industrial control host system is shut down, generally, the waiting time is 1 minute, and after the industrial control host system is shut down, the power supply of the whole machine is cut off to realize the complete shut-down of peripheral equipment; therefore, complex and time-consuming shutdown operation is carried out, managers of a plurality of self-service devices feel troubled deeply, an illegal shutdown mode of directly cutting off a power supply occurs, and therefore bad conditions such as equipment hard disk damage, data loss and the like are easily caused.
Disclosure of Invention
The invention aims to provide a complete machine equipment power-off system and a complete machine equipment power-off method based on the identification of the shutdown state of an industrial personal computer, which are used for solving the problems of long shutdown process and complicated operation of self-service equipment with the industrial personal computer system in the background technology, so as to realize complete power-off of a complete machine with one-key shutdown.
The invention provides the following technical scheme aiming at the content:
a complete machine equipment power-off system based on identification of shutdown state of an industrial control host is applied to self-service equipment provided with the industrial control host, wherein the industrial control host comprises a power supply module and a serial port; the power supply module is electrically connected with the MCU, and the MCU is electrically connected with the power supply module;
the first end of the on-off state monitoring module is connected with the serial port, receives the real-time voltage value of the serial port, and matches the real-time voltage value of the serial port with the working voltage range of the serial port to obtain the running state of the industrial control host; the second end of the on-off state monitoring module is connected with the MCU information processing module; and sending the running state of the industrial control host to the MCU information processing module, and when receiving that the industrial control host is in a shutdown state, the MCU information processing module controls the power supply module to stop supplying power to the self-service equipment.
Preferably, the power supply module comprises a power supply unit and an AC220V on-off control unit; the first end of the power supply unit is connected with an AC220V power supply, the second end of the power supply unit is connected with the AC220V on-off control unit, and the second end of the AC220V on-off control unit is connected with the self-service equipment; and the AC220V on-off control unit carries out the power-off processing of the self-service equipment by the power-off signal of the MCU information processing module.
Preferably, the first end of the on-off state monitoring module is connected with a TXD pin of the serial port, and a real-time voltage value of the TXD pin is obtained; and the startup and shutdown state monitoring module prestores the working voltage range of the TXD pin and judges the state of the industrial control host according to the real-time voltage value of the TXD pin.
Preferably, the on-off state monitoring module includes a time unit, when the voltage value of the TXD pin fluctuates suddenly outside the working voltage range of the TXD pin, the time unit marks an initial time on a timestamp, marks a response time period by 1-3S from the initial time, and sends an off state signal to the MCU information processing module if the real-time voltage value of the TXD pin does not fall within the working voltage range of the TXD pin in the response time period.
Preferably, the industrial control host further comprises a USB interface, wherein the first end of the on-off state monitoring module is connected to the USB interface, receives the real-time voltage value of the USB interface, and matches the real-time voltage value of the USB interface with the working voltage range of the USB interface to obtain the operating state of the industrial control host; the second end of the on-off state monitoring module is connected with the MCU information processing module; and sending the running state of the industrial control host to the MCU information processing module, and when receiving that the industrial control host is in a shutdown state, the MCU information processing module controls the power supply module to stop supplying power to the self-service equipment.
The invention also provides a complete machine equipment power-off method based on the identification of the shutdown state of the industrial control host, which is applied to the complete machine equipment power-off system based on the identification of the shutdown state of the industrial control host;
the industrial control host acquires a shutdown signal of the industrial control host and shuts down the system according to the shutdown signal;
the on-off state monitoring module acquires a real-time voltage value of a serial port of the industrial control host, matches the real-time voltage value of the serial port with a serial port working voltage range, and judges that the industrial control host is in an off state when the serial port voltage does not fall into the serial port working voltage range;
and the MCU information processing module controls the power supply module to close the power supply of the autonomous device according to the shutdown state.
Preferably, when the power module is connected to an external power supply, the power supply unit is connected to an AC220V power supply, and the AC220V on-off control unit performs power-off processing after receiving a power-off signal sent by the MCU information processing module.
Preferably, when the on-off state monitoring module measures the real-time voltage value of the serial port, the real-time voltage value of the TXD pin of the serial port is monitored, the working voltage range of the TXD pin is prestored in the on-off state monitoring module, and the state of the industrial control host is judged according to the real-time voltage value of the TXD pin.
Preferably, when the industrial control host acquires the serial port voltage of the industrial control host, the time when the voltage value of the TXD pin fluctuates suddenly outside the working voltage range of the TXD pin needs to be recorded, the time unit marks the time as an initial time, and marks 1-3S from the initial time as a response time period, and if the real-time voltage value of the TXD pin does not fall into the working voltage range of the TXD pin in the response time period, a shutdown state signal is sent to the MCU information processing module.
Preferably, when the on-off state monitoring module acquires a real-time voltage value of a serial port of the industrial control host, the real-time voltage value of the USB interface can be acquired, and the real-time voltage value of the USB interface is matched with a working voltage range of the USB interface to obtain an operation state of the industrial control host; and after the industrial control host is confirmed to be in a shutdown state, the power supply of the autonomous device is shut down.
The invention has the beneficial effects that: in the prior art, the shutdown scheme of the self-service equipment provided with the industrial control host is that an industrial control host system is manually shut down, and then after the industrial control system is completely shut down, a worker manually unplugs a power supply to completely shut down the whole self-service equipment; the operation is time-consuming and tedious, so that a plurality of workers directly pull out the power supply of the self-service equipment in order to save time and labor, and the hard disk of the equipment is easily damaged and data is easily lost; in some existing schemes of one-key shutdown, software is added into a module in a host system to monitor whether the industrial control host system is shut down, but misjudgment on the state of the industrial control host is easy to occur in the process, so that the scheme is not the best scheme suitable for one-key shutdown;
the invention provides a complete machine equipment power-off system and a complete machine equipment power-off method based on the identification of the shutdown state of an industrial control host, which are applied to self-service equipment provided with the industrial control host, wherein the industrial control host comprises a power supply module and a serial port; the power supply module is electrically connected with the MCU, and the MCU is electrically connected with the power supply module; the first end of the on-off state monitoring module is connected with the serial port, receives the real-time voltage value of the serial port, and matches the real-time voltage value of the serial port with the working voltage range of the serial port to obtain the running state of the industrial control host; the second end of the on-off state monitoring module is connected with the MCU information processing module; the running state of the industrial control host is sent to the MCU information processing module, and when the MCU information processing module receives that the industrial control host is in a shutdown state, the MCU information processing module controls the power supply module to stop supplying power to the self-service equipment; the voltage value obtained through the serial port is the most direct physical measurement data, is measured in real time and is the most reliable and real physical data, then the use state of the industrial control host is judged through monitoring the voltage value of the serial port, the time when the industrial control host enters the shutdown state can be accurately captured, and then the MCU information processing module controls the power supply module to be shut down, so that one-key shutdown is realized; the power on/off of the power supply of the industrial personal computer is reliably and efficiently controlled, electric energy can be saved, the situation that the industrial personal computer is powered off forcibly under the state that the system is not closed can be avoided to the greatest extent, and damage to the power supply or the system of the industrial personal computer is reduced.
Drawings
FIG. 1 is a flow chart of a method of the present invention;
FIG. 2 is a flow chart of a method of the present invention after time stamping;
FIG. 3 is a key circuit diagram of the on/off state monitoring of the present invention;
FIG. 4 is a flow chart of the operation of the present invention;
fig. 5 is a functional block diagram of the present invention.
The main element symbols are as follows:
1. an industrial control host; 11. a power supply module; 111. a power supply unit; 112. an AC220V on-off control unit; 12. a serial/USB port; 2. a startup and shutdown state monitoring module; 3. an MCU information processing module; d1, a diode; r1, a first resistor; r2, a second resistor; r3, third resistor; c1, a first capacitance; c2, a second capacitor; TXD and an output pin of a serial port; RXD, and an input pin of a serial port.
Detailed Description
In order to more clearly describe the present invention, the present invention will be further described with reference to the accompanying drawings.
Specifically, the complete machine equipment power-off system based on the identification of the shutdown state of the industrial control host is applied to self-service equipment provided with the industrial control host, referring to fig. 1, wherein the industrial control host 1 comprises a power module 11 and a serial port 12; the power supply module 11 is electrically connected with the MCU information processing module 3 and the on-off state monitoring module 2;
the first end of the on-off state monitoring module 2 is connected with the serial port 12, receives the real-time voltage value of the serial port 12, and matches the real-time voltage value of the serial port 12 with the working voltage range of the serial port to obtain the running state of the industrial control host 1; the second end of the on-off state monitoring module 2 is connected with the MCU information processing module 3; and sending the running state of the industrial control host 1 to the MCU information processing module 3, and when the MCU information processing module 3 receives that the industrial control host 1 is in a shutdown state, controlling the power supply module 11 to stop supplying power to the self-service equipment. The physical serial ports of the industrial control host have a specific data transmission function; when the industrial control host works, information flow and communication data are transmitted through a physical serial port, but the information flow is captured and the data flow is monitored to identify the running state of the industrial control host, so that the working running of the industrial control host is influenced, and irreversible packet loss of the data can be caused; on the basis, the prior art also indicates a plurality of methods for identifying the operating state of the industrial control host by discriminating and judging the data stream in a software mode; and in this application, the real-time voltage of following the physics serial ports of making a new way starts, whether the system of judging the industry control host computer through the undulant condition of voltage closes, the system of industry control host computer closes the back, the voltage value of serial ports falls the power failure, when undulant non-operating voltage's scope, the power on off state monitoring module just can judge that the industry control host computer has closed through the voltage value of serial ports, then carry out the outage by MCU information processing module control power module to self-service equipment's complete machine and handle.
The voltage range of each pin of the serial port when the industrial personal computer normally works, namely the working voltage range, is stored in the set on-off state monitoring module, the pin function in the serial port of the industrial personal computer is completely defined, so the voltage range of the industrial personal computer at the working moment is also certain, but the current judgment and the voltage judgment are different, and because in the use of the serial port or the USB port of the industrial personal computer, the digital signal transmitted by the port transmits the signal by using high and low levels, the identification signal is extracted from the circuit, only the voltage change of the high and low levels can be identified, and the change of the current is too small to be monitored by the current.
In the present embodiment, please refer to fig. 4, the power module 11 includes a power supply unit 111 and an AC220V on-off control unit 112; the first end of the power supply unit 111 is connected with an AC220V power supply, the second end of the power supply unit 111 is connected with an AC220V on-off control unit 112, and the second end of the AC220V on-off control unit 112 is connected with self-service equipment; and the AC220V on-off control unit 112 performs the power-off process of the self-service device by the power-off signal of the MCU information processing module 3. In order to meet the requirement that the power supply of the whole self-service terminal equipment can be switched on and off from a 220V power supply at an input end, namely the power supply of the whole self-service terminal equipment is switched off, an AC220V on-off control unit is required to directly receive a power-off signal sent from an MCU information processing module, so that the power supply of the whole self-service equipment is switched off, and the system and the power supply of an industrial control host are not only switched off, wherein the MCU information processing module is specifically an MCU processing chip.
In this embodiment, please refer to fig. 3, a first end of the on/off state monitoring module 2 is connected to a TXD pin of the serial port 12 to obtain a real-time voltage value of the TXD pin; and the startup and shutdown state monitoring module 2 prestores a TXD pin working voltage range, and the state of the industrial control host is judged according to the real-time voltage value of the TXD pin. In this application, the most important is to use a power on/off state monitoring circuit:
referring to fig. 3, the circuit couples the cathode of the diode D1 to the TXD pin of the serial port, the first end of the first resistor R1 is coupled to the AD pin of the MCU chip, the second end of the second resistor R2 is coupled to the connection points of the first capacitor C1, the second resistor R2 and the third resistor R3, wherein the other ends of the capacitor C1 and the resistor R2 are connected to the 5V power output terminal; the other end of the third resistor R3 is coupled to a connection point of the anode of the diode D1 and the second capacitor C2, wherein the other end of the second capacitor C2 is grounded; the second resistor R2 and the third resistor R3 form a voltage dividing circuit, and when the master control is in a power-on state, the voltage of the serial port TXD pin is from-3V to-15V. Firstly, a lead wire which is coupled between the first end of the first resistor R1 and the MCU chip is defined as a T2 point, a connecting point of the first resistor R1 and the first capacitor C1 is defined as a T1 point, and the potential of the T1 is smaller than 2.5V; when the industrial control host is in a shutdown state, the voltage of the serial TXD pin is greater than or equal to 0V, and the potential of T1 is greater than 3.3V at the moment. The capacitor C1, the resistors R2 and R3 form a low-pass filter circuit, the second capacitor C2 and the diode D1 form a rectifying filter circuit, and the voltage fluctuation at the T1 point cannot be caused by the transient voltage change of the TXD pin. That is, a small range of fluctuation in normal operation does not cause erroneous judgment of the switching state detection circuit.
Because the point T2 is connected to the AD pin of the MCU chip, and the pin is in a high impedance state when being an input port, the potentials of the point T1 and the point T2 are the same, and the running state of the serial port can be directly identified from the monitoring of the point T2; when the MCU identifies that the potential at the point T2 is less than 2.5V, the voltage of the TXD pin is the working state voltage, and the master control is judged to be in a starting state; when the MCU recognizes that the potential at the T2 point is greater than 3.3V, the TXD pin voltage is a non-working state voltage, and the industrial personal computer is judged to be in a shutdown state.
In a more preferable scheme, referring to fig. 2, in order to ensure that the potential measurement at the point T2 is true and reliable, a timestamp is specially provided to ensure the monitoring accuracy, and it is determined that the industrial host is in the shutdown state only when it is determined that the potential of the T2 is greater than 3.3V and remains above 1S. That is, the time unit 21 is arranged in the on-off state monitoring module 2, when the voltage value of the TXD pin fluctuates suddenly outside the working voltage range of the TXD pin, the time unit marks the initial time on the timestamp, and marks 1 to 3S from the initial time as the response time period, the real-time voltage value of the TXD pin does not fall into the working voltage range of the TXD pin in the response time period, and then the off state signal is sent to the MCU information processing module.
When the scheme is implemented, the specific wiring process is that an AC220V power supply of the self-service equipment is connected to the power supply unit 111, then the power supply unit supplies power to the whole self-service equipment, wherein the power supply unit 111 is controlled by the AC220V on-off control unit 112; and one end of the AC220V on-off control unit 112 is connected with the MCU information processing module 3, and the MCU information processing module controls the AC220V on-off control unit, thereby controlling the on-off of the power supply unit and achieving the purpose of cutting off the power supply of the whole machine. And one end of the MCU information processing unit is connected with a startup and shutdown state monitoring unit, whether the TXD pin of the serial port is in a working state or not is judged through the potential monitoring of the T2 point, so that whether the system of the industrial control host is in a shutdown state or not is judged, and when the startup and shutdown monitoring unit judges that the industrial control host is in the shutdown state, the MCU information processing module is used for conducting overall power-off processing.
The method comprises the steps that the voltage of the USB interface is monitored, the first end of a startup and shutdown state monitoring module is connected with the USB interface, the real-time voltage value of the USB interface is received, the real-time voltage value of the USB interface is matched with the working voltage range of the USB interface, and the running state of the industrial control host is obtained; the second end of the on-off state monitoring module is connected with the MCU information processing module; and the MCU information processing module receives that the industrial control host is in a shutdown state, and controls the power supply module to stop supplying power to the self-service equipment.
The invention also provides a complete machine equipment power-off method based on the identification of the shutdown state of the industrial control host, which is applied to the complete machine equipment power-off system based on the identification of the shutdown state of the industrial control host; the method comprises the following specific steps:
referring to fig. 4 and 5, the industrial personal computer obtains a shutdown signal of the industrial personal computer, and performs system shutdown according to the shutdown signal;
the on-off state monitoring module acquires a real-time voltage value of a serial port of the industrial control host, matches the real-time voltage value of the serial port with a serial port working voltage range, and judges that the industrial control host is in an off state when the serial port voltage does not fall into the serial port working voltage range;
and the MCU information processing module controls the power supply module to close the power supply of the autonomous device according to the shutdown state.
Preferably, when the power module is connected to an external power supply, the power supply unit is connected to the AC220V power supply, and the AC220V on-off control unit performs power-off processing when receiving the power-off signal sent by the MCU information processing module.
Preferably, when the on-off state monitoring module measures the real-time voltage value of the serial port, the real-time voltage value of the TXD pin of the serial port is monitored, the working voltage range of the TXD pin is prestored in the on-off state monitoring module, and the state of the industrial control host is judged according to the real-time voltage value of the TXD pin.
Preferably, when the industrial control host acquires the serial port voltage of the industrial control host, the time when the voltage value of the TXD pin fluctuates suddenly to the outside of the working voltage range of the TXD pin is recorded, the time unit is marked as an initial time, 1-3S from the initial time is marked as a response time period, the real-time voltage value of the TXD pin does not fall into the working voltage range of the TXD pin in the response time period, and then a shutdown state signal is sent to the MCU information processing module.
Preferably, when the on-off state monitoring module acquires the real-time voltage value of the serial port of the industrial control host, the real-time voltage value of the USB interface can be acquired, and the real-time voltage value of the USB interface is matched with the working voltage range of the USB interface to obtain the running state of the industrial control host; and after the industrial control host is confirmed to be in the shutdown state, the power supply of the autonomous device is shut down.
Examples
In the embodiment of the application, the self-service vending equipment is controlled based on an industrial control host, and comprises an equipment power supply, a system functional component, the MCU information processing module, a startup and shutdown state monitoring module and a power supply module; one end of the startup and shutdown state monitoring module is connected to a TXD pin of the serial port, and the other end of the startup and shutdown state monitoring module is connected to an AD pin of the MCU chip, so that the working state of the serial port is directly identified, and the state of the industrial control host system is further judged; and (3) the user closes the industrial control host system, the on-off state monitoring module monitors that the voltage of the serial port changes and maintains more than 1S, the serial port is judged to be in a non-working state, namely the industrial control host is shut down, the MCU sends a shutdown instruction to the AC220V on-off control unit in the power supply module, the AC220V on-off control unit closes the power supply unit, and the complete machine of the self-service equipment is closed. In the whole process, only the worker is required to shut down the industrial control host system, and the power supply of the whole industrial control host system is not required to be shut down after the industrial control host system is shut down.
The invention has the advantages that:
1) in the process of shutting down the self-service equipment with the industrial control host, monitoring the working state of the industrial control host, and when the shutdown state of the system is monitored, utilizing the MCU to execute shutdown operation on the power supply module;
2) in the process of judging the working state of the industrial control host, the method for monitoring the voltage of the TXD pin of the serial port is adopted to ensure the real reliability of data, and the problem of instability of software monitoring is solved.
The above disclosure is only for a few specific embodiments of the present invention, but the present invention is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present invention.

Claims (10)

1. A complete machine equipment power-off system based on identification of shutdown state of an industrial control host is applied to self-service equipment provided with the industrial control host, wherein the industrial control host comprises a power supply module and a serial port; the power supply device is characterized by further comprising a startup and shutdown state monitoring module and an MCU information processing module which are electrically connected with the power supply module;
the first end of the on-off state monitoring module is connected with the serial port, receives the real-time voltage value of the serial port, and matches the real-time voltage value of the serial port with the working voltage range of the serial port to obtain the running state of the industrial control host; the second end of the on-off state monitoring module is connected with the MCU information processing module; and sending the running state of the industrial control host to the MCU information processing module, and when receiving that the industrial control host is in a shutdown state, the MCU information processing module controls the power supply module to stop supplying power to the self-service equipment.
2. The complete machine power-off system based on the identification of the shutdown state of the industrial personal computer as claimed in claim 1, wherein the power supply module comprises a power supply unit and an AC220V on-off control unit; the first end of the power supply unit is connected with an AC220V power supply, the second end of the power supply unit is connected with the AC220V on-off control unit, and the second end of the AC220V on-off control unit is connected with the self-service equipment; and the AC220V on-off control unit carries out the power-off processing of the self-service equipment by the power-off signal of the MCU information processing module.
3. The power-off system for the complete machine equipment based on the identification of the shutdown state of the industrial control host computer according to claim 1, wherein a first end of the startup and shutdown state monitoring module is connected with a TXD pin of the serial port to obtain a real-time voltage value of the TXD pin; and the startup and shutdown state monitoring module prestores the working voltage range of the TXD pin and judges the state of the industrial control host according to the real-time voltage value of the TXD pin.
4. The complete machine equipment power-off system based on the identification of the power-off state of the industrial control host computer according to claim 3, wherein the power-off state monitoring module comprises a time unit, when the voltage value of the TXD pin fluctuates suddenly outside the working voltage range of the TXD pin, the time unit is marked as an initial time on a timestamp, 1-3S from the initial time is marked as a response time period, and when the real-time voltage value of the TXD pin does not fall into the working voltage range of the TXD pin in the response time period, a power-off state signal is sent to the MCU information processing module.
5. The power-off system for the complete machine equipment based on the identification of the shutdown state of the industrial personal computer as claimed in claim 1, wherein the industrial personal computer further comprises a USB interface, the first end of the monitoring module for the shutdown state is connected to the USB interface, receives the real-time voltage value of the USB interface, and matches the real-time voltage value of the USB interface with the working voltage range of the USB interface to obtain the running state of the industrial personal computer; the second end of the on-off state monitoring module is connected with the MCU information processing module; and sending the running state of the industrial control host to the MCU information processing module, and when receiving that the industrial control host is in a shutdown state, the MCU information processing module controls the power supply module to stop supplying power to the self-service equipment.
6. A power-off method of complete equipment based on the identification of the shutdown state of an industrial control host is characterized by comprising a power-off system of the complete equipment based on the identification of the shutdown state of the industrial control host;
the industrial control host acquires a shutdown signal of the industrial control host and shuts down the system according to the shutdown signal;
the on-off state monitoring module acquires a real-time voltage value of a serial port of the industrial control host, matches the real-time voltage value of the serial port with a serial port working voltage range, and judges that the industrial control host is in an off state when the serial port voltage does not fall into the serial port working voltage range;
and the MCU information processing module controls the power supply module to close the power supply of the autonomous device according to the shutdown state.
7. The power-off method for complete equipment based on the identification of the shutdown state of the industrial personal computer as claimed in claim 6, wherein when the power module is connected to an external power supply, the power supply unit is connected to an AC220V power supply, and the AC220V on-off control unit performs power-off processing after receiving the power-off signal sent by the MCU information processing module.
8. The power-off method for complete equipment based on the identification of the shutdown state of the industrial personal computer as claimed in claim 6, wherein when the on-off state monitoring module measures the real-time voltage value of the serial port, the real-time voltage value of a TXD pin of the serial port is monitored, the on-off state monitoring module prestores the working voltage range of the TXD pin, and the state judgment of the industrial personal computer is performed according to the real-time voltage value of the TXD pin.
9. The complete machine power-off method based on the identification of the shutdown state of the industrial personal computer of claim 8, wherein when the industrial personal computer obtains the serial port voltage of the industrial personal computer, the time when the voltage value of the TXD pin fluctuates suddenly outside the working voltage range of the TXD pin is recorded, the time unit is marked as an initial time, 1-3S from the initial time is marked as a response time period, and if the real-time voltage value of the TXD pin does not fall into the working voltage range of the TXD pin in the response time period, a shutdown state signal is sent to the MCU information processing module.
10. The power-off method for the whole equipment based on the identification of the shutdown state of the industrial personal computer as claimed in claim 6, wherein when the startup and shutdown state monitoring module acquires the real-time voltage value of the serial port of the industrial personal computer, the real-time voltage value of the USB interface can be acquired, and the real-time voltage value of the USB interface is matched with the working voltage range of the USB interface to obtain the running state of the industrial personal computer; and after the industrial control host is confirmed to be in a shutdown state, the power supply of the autonomous device is shut down.
CN201911073559.6A 2019-11-06 2019-11-06 Complete machine equipment power-off system and method based on identification of shutdown state of industrial control host Pending CN110764973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911073559.6A CN110764973A (en) 2019-11-06 2019-11-06 Complete machine equipment power-off system and method based on identification of shutdown state of industrial control host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911073559.6A CN110764973A (en) 2019-11-06 2019-11-06 Complete machine equipment power-off system and method based on identification of shutdown state of industrial control host

Publications (1)

Publication Number Publication Date
CN110764973A true CN110764973A (en) 2020-02-07

Family

ID=69336425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911073559.6A Pending CN110764973A (en) 2019-11-06 2019-11-06 Complete machine equipment power-off system and method based on identification of shutdown state of industrial control host

Country Status (1)

Country Link
CN (1) CN110764973A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111487938A (en) * 2020-03-31 2020-08-04 深圳市雄帝科技股份有限公司 Automatic on-off control system and method for public government affair service equipment
CN112698713A (en) * 2020-12-08 2021-04-23 京东数科海益信息科技有限公司 Shutdown control circuit and method and electronic equipment
CN114064147A (en) * 2021-11-15 2022-02-18 安徽文香信息技术有限公司 Intelligent blackboard control method and device and intelligent blackboard
CN114265490A (en) * 2021-12-28 2022-04-01 山西三友和智慧信息技术股份有限公司 Computer standby power supply and alarm system thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159436A (en) * 2015-09-30 2015-12-16 新达通科技股份有限公司 Industrial personal computer power on-off control apparatus and control method
CN205193517U (en) * 2015-12-08 2016-04-27 天津七一二通信广播有限公司 Commercial power break -make check out test set of industrial computer
CN205232010U (en) * 2015-12-15 2016-05-11 广州御银自动柜员机科技有限公司 Electrical source controller of sales counter equipment
CN109459652A (en) * 2018-11-21 2019-03-12 杭州迦智科技有限公司 Off-mode judgement and closedown method, detection circuit, power-supply management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159436A (en) * 2015-09-30 2015-12-16 新达通科技股份有限公司 Industrial personal computer power on-off control apparatus and control method
CN205193517U (en) * 2015-12-08 2016-04-27 天津七一二通信广播有限公司 Commercial power break -make check out test set of industrial computer
CN205232010U (en) * 2015-12-15 2016-05-11 广州御银自动柜员机科技有限公司 Electrical source controller of sales counter equipment
CN109459652A (en) * 2018-11-21 2019-03-12 杭州迦智科技有限公司 Off-mode judgement and closedown method, detection circuit, power-supply management system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111487938A (en) * 2020-03-31 2020-08-04 深圳市雄帝科技股份有限公司 Automatic on-off control system and method for public government affair service equipment
CN112698713A (en) * 2020-12-08 2021-04-23 京东数科海益信息科技有限公司 Shutdown control circuit and method and electronic equipment
CN114064147A (en) * 2021-11-15 2022-02-18 安徽文香信息技术有限公司 Intelligent blackboard control method and device and intelligent blackboard
CN114265490A (en) * 2021-12-28 2022-04-01 山西三友和智慧信息技术股份有限公司 Computer standby power supply and alarm system thereof

Similar Documents

Publication Publication Date Title
CN110764973A (en) Complete machine equipment power-off system and method based on identification of shutdown state of industrial control host
CN101622612B (en) Detecting connection to a usb host or hub without using an extra status input
TWI575835B (en) Method and apparatus for controlling distribution of power
US8527788B2 (en) Network wake up system with protection function
CN102043933B (en) SD (Secure Digital) card reader module with controllable operating state
CN100378617C (en) Network wakening device and method
CN105225316A (en) A kind of dormancy of electron key low-power consumption power supply plan and awakening method
CN102354261A (en) Remote control system for power supply switches of machine room servers
CN110245048B (en) Intelligent management system and management method for chassis
US20050086460A1 (en) Apparatus and method for wakeup on LAN
CN103067034B (en) Third generation telecommunication (3G) module capable of monitoring light-emitting diode (LED) release system
CN103176885A (en) Network card stoppage prompting system
CN105975382B (en) A kind of alarm method that hardware configuration changes
CN112526898B (en) Serial port line plug detection circuit and embedded equipment
CN112000284A (en) Hardware system, method and program for supporting storage server hard disk protection
CN218824636U (en) Power supply detection device for server hard disk backboard
CN107153456A (en) OTG connections control method, OTG connection control devices and electronic equipment
CN116028123A (en) Method and system for safely switching on and switching off server
CN100559761C (en) Network testing device and method
CN211906428U (en) Financial peripheral equipment self-starting circuit based on terminal
CN212847692U (en) Testing device for verifying eMMC and SD card
CN113722185B (en) Domestic computer remote management system
CN108572936B (en) USB interface control circuit
CN209514025U (en) A kind of detection device of server power supply
CN101729298B (en) Test system of chassis board

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200207

RJ01 Rejection of invention patent application after publication