CN118199247A - Soft-shutdown protection system and method for industrial personal computer when mains supply is unstable - Google Patents
Soft-shutdown protection system and method for industrial personal computer when mains supply is unstable Download PDFInfo
- Publication number
- CN118199247A CN118199247A CN202410241681.4A CN202410241681A CN118199247A CN 118199247 A CN118199247 A CN 118199247A CN 202410241681 A CN202410241681 A CN 202410241681A CN 118199247 A CN118199247 A CN 118199247A
- Authority
- CN
- China
- Prior art keywords
- personal computer
- industrial personal
- module
- current detection
- mains supply
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 9
- 238000001514 detection method Methods 0.000 claims abstract description 42
- 238000004891 communication Methods 0.000 claims abstract description 19
- 238000002955 isolation Methods 0.000 claims abstract description 12
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J9/00—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
- H02J9/04—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
- H02J9/06—Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H3/00—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
- H02H3/24—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to undervoltage or no-voltage
Landscapes
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a soft shutdown protection system and a soft shutdown protection method for an industrial personal computer when mains supply is unstable, wherein the soft shutdown protection system comprises the industrial personal computer; RS485 isolation communication module; the input end of the current detection module is connected with the mains supply power distribution cabinet, and the output end of the current detection module is connected with the industrial personal computer in a communication way through the RS485 isolation communication module; the UPS module is respectively connected with the industrial personal computer and the current detection module; and the input end of the power management module is connected with the mains supply power distribution cabinet, and the output end of the power management module is connected with the UPS module. When the commercial power is disconnected, the UPS can provide electric quantity for the industrial personal computer and the current detection module in a certain time, and when the current detection module detects that the commercial power current is smaller than a certain value, the industrial personal computer can judge to automatically shut down, so that soft shutdown is realized, the safety of system data is ensured, and the original system space and resources are not occupied.
Description
Technical Field
The invention relates to the technical field of soft shutdown of industrial personal computers, in particular to a soft shutdown protection system and method for an industrial personal computer when mains supply is unstable.
Background
An industrial personal computer is often adopted as a main control unit in precision measurement equipment, and a large amount of data read-write operations can be involved in the operation process of the industrial personal computer. When the industrial personal computer is powered down and shut down suddenly, the data can be stored incorrectly, and the data can be lost, so that immeasurable loss is brought.
In order to avoid system breakdown caused by sudden power failure and shutdown, a UPS is often used in the prior art, and the UPS can provide temporary power supply, so that when a power grid is powered off, the industrial personal computer can be ensured to have enough time to normally shut down, and sudden power failure is avoided. However, the problem that the industrial personal computer can only supply power in a short time when the industrial personal computer is continuously driven by the UPS is solved, and once the power is cut off for a long time, the system still can be crashed, so that potential safety hazards of data are brought.
It can be seen how to study a soft-off protection system for an industrial personal computer when mains supply is unstable.
Disclosure of Invention
In order to solve the technical problem, the present invention provides a soft-off protection system for an industrial personal computer when mains supply is unstable, comprising:
An industrial personal computer;
RS485 isolation communication module;
The input end of the current detection module is connected with the mains supply power distribution cabinet, and the output end of the current detection module is connected with the industrial personal computer in a communication way through the RS485 isolation communication module;
The UPS module is respectively connected with the industrial personal computer and the current detection module; and
The input end of the power management module is connected with the mains supply power distribution cabinet, and the output end of the power management module is connected with the UPS module.
Further, the current detection module comprises a Hall sensor, an amplifier, an ADC and an MCU.
Further, the input end of the Hall sensor is connected with a mains supply power distribution cabinet, and the output end of the Hall sensor is connected with the amplifier; the output end of the amplifier is connected with the ADC, the output end of the ADC is connected with the MCU, and the MCU calculates the current value of the Hall sensor according to the digital signal after analog-digital conversion of the ADC.
Furthermore, the RS485 isolation communication module (3) comprises an integrated chip U1 and a triode Q1.
Further, a pin 7 of the integrated chip U1 is connected with the base electrode of the triode Q1, a pin RS485_en of the integrated chip U1 is connected with the collector electrode of the triode Q1 and is connected with a resistor R2 in series, and the emitter electrode of the triode Q1 is grounded.
Further, the model of the integrated chip U1 is ADM2587E.
The soft power off protection method for the industrial personal computer when the mains supply is unstable is applied to the soft power off protection system for the industrial personal computer when the mains supply is unstable, and comprises the following steps:
Step 1, the power management module charges the UPS module, and the UPS module supplies power to the industrial personal computer and the current detection module;
Step2, setting a mains current threshold, and when the mains current value calculated by the current detection module is not smaller than the current threshold, supplying power to the mains as normal power; when the commercial current value calculated by the current detection module is smaller than a current threshold value, the commercial power supply fails;
And 3, when the mains supply fails, the UPS module continuously supplies power to the industrial personal computer and the current detection module, the current detection module communicates with the industrial personal computer through an RS485 serial port, and the industrial personal computer executes a shutdown program, saves data and is in soft shutdown.
Compared with the prior art, the invention has the following beneficial effects:
According to the invention, through the combined application of the current detection module, the RS485 isolation communication module and the UPS, when the mains supply is disconnected, the UPS can provide electric quantity for the industrial personal computer and the current detection module in a certain time, and when the current detection module detects that the mains supply current is smaller than a certain value, the industrial personal computer can judge to automatically shut down, so that soft shutdown is realized, the safety of system data is ensured, and the original system space and resources are not occupied.
Drawings
FIG. 1 is a block diagram of the present invention;
fig. 2 is a circuit diagram of an RS485 isolated communication module according to the invention.
In the figure: 1. an industrial personal computer; 2. a current detection module; 3. RS485 isolation communication module; 4. a UPS module; 5. and a power management module.
Detailed Description
In order to make the technical solutions and technical effects of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments.
As shown in FIG. 1, the invention provides a soft shutdown protection system for an industrial personal computer when the commercial power supply is unstable, which comprises an industrial personal computer 1, a current detection module 2, an RS485 isolation communication module 3, a UPS module 4 and a power management module 5.
Specifically, the input end of the current detection module 2 is connected with a mains supply power distribution cabinet, and the output end of the current detection module 2 is connected with the industrial personal computer 1 in a communication way through the RS485 isolation communication module 3. The UPS module 4 is respectively connected with the industrial personal computer 1 and the current detection module 2. The input end of the power management module 5 is connected with the mains supply power distribution cabinet, and the output end of the power management module 5 is connected with the UPS module 4.
The current detection module 2 comprises a hall sensor, an amplifier, an ADC and an MCU. The input end of the Hall sensor is connected with the mains supply power distribution cabinet, and the output end of the Hall sensor is connected with the amplifier; the output end of the amplifier is connected with the ADC, the output end of the ADC is connected with the MCU, and the MCU calculates the current value of the Hall sensor according to the digital signal after analog-digital conversion of the ADC.
The power management module 5 mainly charges power supply equipment and the UPS module 4, and supplies power to the industrial personal computer 1 and the current detection module 2 through the UPS module 4. If the mains supply is disconnected, the UPS module 4 can supply power to the industrial personal computer 1 and the current detection module 2 for a certain period of time.
As shown in fig. 2, the RS485 isolated communication module 3 includes an integrated chip U1 and a triode Q1, and the model of the integrated chip U1 is ADM2587E. The pin 7 of the integrated chip U1 is connected with the base electrode of the triode Q1, the pin RS485_EN of the integrated chip U1 is connected with the collector electrode of the triode Q1 and is connected with a resistor R2 in series, and the emitter electrode of the triode Q1 is grounded.
During operation, a live wire magnetic field of 220V commercial power is captured by a Hall sensor in the current detection module 2, conversion and ADC analog-to-digital conversion are carried out through an I/V conversion circuit, and then the current of the captured commercial power is calculated through an MCU. The MCU in the current detection module 2 carries out data communication with the industrial personal computer 1 through an RS485 serial port, and if the calculated current value is smaller than a certain value, the industrial personal computer 1 can judge whether to shut down by itself.
The invention also provides a soft shutdown protection method for the industrial personal computer when the mains supply is unstable, which comprises the following steps:
Step 1, a power management module 5 charges a UPS module 4, and the UPS module 4 supplies power to an industrial personal computer 1 and a current detection module 2;
step 2, setting a mains current threshold, and when the mains current value calculated by the current detection module 2 is not smaller than the current threshold, supplying power to the mains as normal power; when the commercial current value calculated by the current detection module 2 is smaller than the current threshold value, the commercial power supply fails;
And 3, when the mains supply fails, the UPS module 4 continuously supplies power to the industrial personal computer 1 and the current detection module 2, the current detection module 2 communicates with the industrial personal computer 1 through an RS485 serial port, and the industrial personal computer 1 executes a shutdown program, saves data and is in soft shutdown.
After the mains supply is supplied again, the industrial personal computer 1 is started to automatically start, the program is started automatically, and the equipment still operates orderly.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (7)
1. A soft-off protection system for industrial computer when mains supply is unstable, its characterized in that includes:
An industrial personal computer (1);
An RS485 isolation communication module (3);
The current detection module (2), the input end of the current detection module (2) is connected with a mains supply power distribution cabinet, and the output end of the current detection module (2) is in communication connection with the industrial personal computer (1) through the RS485 isolation communication module (3);
The UPS module (4) is respectively connected with the industrial personal computer (1) and the current detection module (2); and
The power management module (5), power management module (5) input is connected with the commercial power switch board, power management module (5) output with UPS module (4) are connected.
2. The soft-off protection system for an industrial personal computer when mains supply is unstable according to claim 1, wherein the current detection module (2) comprises a hall sensor, an amplifier, an ADC and an MCU.
3. The soft-off protection system for the industrial personal computer when the commercial power supply is unstable according to claim 2, wherein the input end of the Hall sensor is connected with a commercial power distribution cabinet, and the output end of the Hall sensor is connected with the amplifier; the output end of the amplifier is connected with the ADC, the output end of the ADC is connected with the MCU, and the MCU calculates the current value of the Hall sensor according to the digital signal after analog-digital conversion of the ADC.
4. The soft-off protection system for the industrial personal computer when the commercial power supply is unstable according to claim 1, wherein the RS485 isolation communication module (3) comprises an integrated chip U1 and a triode Q1.
5. The soft-off protection system for an industrial personal computer with unstable mains supply according to claim 4, wherein a pin 7 of the integrated chip U1 is connected with a base electrode of the triode Q1, a pin RS485 EN of the integrated chip U1 is connected with a collector electrode of the triode Q1 and is connected with a resistor R2 in series, and an emitter electrode of the triode Q1 is grounded.
6. The soft-off protection system for an industrial personal computer with unstable mains supply according to claim 4, wherein the integrated chip U1 is of the type ADM2587E.
7. The soft-off protection method for the industrial personal computer when the mains supply is unstable is applied to the soft-off protection system for the industrial personal computer when the mains supply is unstable according to any one of claims 1 to 6, and is characterized in that the method comprises the following steps:
Step 1, the power management module (5) charges the UPS module (4), and the UPS module (4) supplies power to the industrial personal computer (1) and the current detection module (2);
Step 2, setting a mains supply current threshold, and when the mains supply current value calculated by the current detection module (2) is not smaller than the current threshold, supplying power to the mains supply as normal power; when the commercial current value calculated by the current detection module (2) is smaller than a current threshold value, the commercial power supply fails;
And 3, when the mains supply fails, the UPS module (4) continuously supplies power to the industrial personal computer (1) and the current detection module (2), the current detection module (2) communicates with the industrial personal computer (1) through an RS485 serial port, and the industrial personal computer (1) executes a shutdown program, saves data and is in soft shutdown.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410241681.4A CN118199247A (en) | 2024-03-04 | 2024-03-04 | Soft-shutdown protection system and method for industrial personal computer when mains supply is unstable |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410241681.4A CN118199247A (en) | 2024-03-04 | 2024-03-04 | Soft-shutdown protection system and method for industrial personal computer when mains supply is unstable |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118199247A true CN118199247A (en) | 2024-06-14 |
Family
ID=91397525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410241681.4A Pending CN118199247A (en) | 2024-03-04 | 2024-03-04 | Soft-shutdown protection system and method for industrial personal computer when mains supply is unstable |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118199247A (en) |
-
2024
- 2024-03-04 CN CN202410241681.4A patent/CN118199247A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204360323U (en) | For enabling the control circuit of the connection of primary power, computing system and device | |
CN104935072A (en) | Switch control method and apparatus for reserve power supply | |
CN103576816B (en) | Switching on and shutting down control circuit | |
CN202634566U (en) | Reset control circuit and television | |
CN110597376B (en) | Sequencing circuit and sequencing system | |
CN111831498A (en) | Power failure test method, device and equipment | |
CN104868588A (en) | AC/DC switchover and key waking control circuit for acquiring terminal of specific power transformer | |
CN118199247A (en) | Soft-shutdown protection system and method for industrial personal computer when mains supply is unstable | |
CN201995065U (en) | Wake-up circuit and digital television receiving terminal | |
CN217133251U (en) | Low-loss power supply circuit | |
CN103543816A (en) | Power on/off circuit power supply management method capable of realizing shutdown zero power consumption | |
CN212161292U (en) | Flash power-down protection circuit, controller and electric appliance device | |
CN110737318A (en) | intelligent power supply management system | |
CN105675977A (en) | Electric energy meter and method for pre-stage and post-stage stage power failure detection and control of power switching-off by magnetic latching relay and data storage | |
CN212114884U (en) | Main/standby power switching circuit for fire-fighting emergency main machine power supply | |
CN207968448U (en) | A kind of switch and reset circuit of power supply | |
CN1087082C (en) | Apparatus for providing electricity-saving mode for central processing unit | |
CN213846323U (en) | Power supply system and battery switching circuit thereof | |
CN212012599U (en) | Restarting circuit of electric appliance | |
CN220172906U (en) | Compatible interface awakening and handshaking circuit and device | |
CN213878636U (en) | Power plug protection circuit, device, system and power cord | |
CN218549571U (en) | Power supply redundancy protection circuit | |
CN202177899U (en) | USB (Universal Serial Bus) detection circuit and device with USB interface | |
CN221151002U (en) | Voltage acquisition protection circuit applied to energy storage control system | |
CN215833787U (en) | Shutdown control system of robot |
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 |