CN113726529A - Singlechip and network equipment - Google Patents

Singlechip and network equipment Download PDF

Info

Publication number
CN113726529A
CN113726529A CN202010457559.2A CN202010457559A CN113726529A CN 113726529 A CN113726529 A CN 113726529A CN 202010457559 A CN202010457559 A CN 202010457559A CN 113726529 A CN113726529 A CN 113726529A
Authority
CN
China
Prior art keywords
voltage
abnormal
network equipment
chip microcomputer
power 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.)
Granted
Application number
CN202010457559.2A
Other languages
Chinese (zh)
Other versions
CN113726529B (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.)
Hangzhou Hikmicro Sensing Technology Co Ltd
Original Assignee
Hangzhou Hikmicro Sensing 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 Hangzhou Hikmicro Sensing Technology Co Ltd filed Critical Hangzhou Hikmicro Sensing Technology Co Ltd
Priority to CN202010457559.2A priority Critical patent/CN113726529B/en
Publication of CN113726529A publication Critical patent/CN113726529A/en
Application granted granted Critical
Publication of CN113726529B publication Critical patent/CN113726529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • G01R19/16533Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application
    • G01R19/16538Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the application in AC or DC supplies
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • G01R19/16566Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533
    • G01R19/16576Circuits and arrangements for comparing voltage or current with one or several thresholds and for indicating the result not covered by subgroups G01R19/16504, G01R19/16528, G01R19/16533 comparing DC or AC voltage with one threshold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The application provides a singlechip and network equipment, this singlechip includes: the sampling unit is used for sampling the power supply voltage of the network equipment; the sampling period of the sampling unit is lower than a preset time threshold, the preset time threshold is determined based on the shortest voltage abnormal time of the network equipment, and the shortest voltage abnormal time is the shortest time from the occurrence of abnormality of the power supply voltage of the network equipment to the recovery of the power supply voltage of the network equipment; and the communication unit is used for sending abnormal voltage information to a main platform of the network equipment when the power supply voltage of the network equipment is determined to be abnormal, so that the main platform of the network equipment carries out alarm processing based on the abnormal voltage information. The embodiment of the application can improve the reliability of monitoring the abnormal power supply voltage of the network equipment.

Description

Singlechip and network equipment
Technical Field
The application relates to the field of network equipment, in particular to a single chip microcomputer and network equipment.
Background
With the development of network technology, the deployment of network devices is becoming more popular, and some remote areas, such as webcams, may also deploy network devices.
In practical application, the network device is often restarted, and although experience shows that the condition is caused by unstable power supply voltage, workers are usually required to go to a site for investigation and verification to finally confirm the actual reason, so that time and labor are wasted, problems may not be reproduced, and the difficulty in solving the problems is increased.
Disclosure of Invention
In view of this, the present application provides a single chip and a network device.
Specifically, the method is realized through the following technical scheme:
according to a first aspect of the embodiments of the present application, a single chip microcomputer is provided, which is applied to a network device, and includes:
the sampling unit is used for sampling the power supply voltage of the network equipment; the sampling period of the sampling unit is lower than a preset time threshold, the preset time threshold is determined based on the shortest voltage abnormal time of the network equipment, and the shortest voltage abnormal time is the shortest time from the occurrence of abnormality of the power supply voltage of the network equipment to the recovery of the power supply voltage of the network equipment;
and the communication unit is used for sending abnormal voltage information to a main platform of the network equipment when the power supply voltage of the network equipment is determined to be abnormal, so that the main platform of the network equipment carries out alarm processing based on the abnormal voltage information.
According to a second aspect of the embodiments of the present application, a network device is provided, which includes the above-mentioned single chip microcomputer and a main platform; wherein:
and the main platform is used for receiving the abnormal voltage information sent by the singlechip and carrying out alarm processing based on the abnormal voltage information.
In the embodiment of the application, the single chip microcomputer is adopted to monitor the power supply voltage of the network equipment, and the single chip microcomputer with the sampling period of the sampling unit meeting the requirement is selected based on the shortest voltage abnormal time of the network, so that the sampling data can be obtained when the power supply voltage of the network equipment is abnormal, and the reliability of monitoring the power supply voltage abnormality of the network equipment is improved.
Drawings
Fig. 1 is a schematic structural diagram of a single chip microcomputer according to an exemplary embodiment of the present application;
fig. 2 is a schematic structural diagram of another single chip microcomputer according to another exemplary embodiment of the present application;
fig. 3 is a schematic structural diagram of a network device according to an exemplary embodiment of the present application;
FIG. 4 is a block diagram illustrating an architecture of a specific application scenario according to an exemplary embodiment of the present application;
fig. 5 is a schematic flow chart of a voltage anomaly monitoring method according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
In order to make the technical solutions provided in the embodiments of the present application better understood and make the above objects, features and advantages of the embodiments of the present application more comprehensible, the technical solutions in the embodiments of the present application are described in further detail below with reference to the accompanying drawings.
Please refer to fig. 1, which is a schematic structural diagram of a single chip microcomputer provided in an embodiment of the present application, wherein the single chip microcomputer may be applied to a network device, and as shown in fig. 1, the single chip microcomputer may include:
a sampling unit 110, configured to sample a supply voltage of a network device; the sampling period of the sampling unit is lower than a preset time threshold, the preset time threshold is determined based on the shortest voltage abnormal time of the network equipment, and the shortest voltage abnormal time is the shortest time from the occurrence of abnormality of the power supply voltage of the network equipment to the recovery of the power supply voltage of the network equipment;
the communication unit 120 is configured to send the abnormal voltage information to the main platform of the network device, so that the main platform of the network device performs alarm processing based on the received abnormal voltage information.
In the embodiment of the application, in order to find the power supply voltage abnormality of the network equipment in time, the network equipment can monitor the power supply voltage of the network equipment through the single chip microcomputer.
Considering that the external power supply mode of the network device generally includes AC220 grid power supply, wind-solar complementary power supply, iron tower centralized power supply, and the like, the problem of device abnormality and the like caused by power supply fluctuation often occurs, in order to ensure that the waveform in the short time at that time can be recorded when the abnormal conditions such as drop/overshoot of the power supply voltage occur, it is necessary to ensure that the single chip microcomputer has a sufficiently fast response rate and a sufficiently high sampling frequency.
For example, the shortest time (referred to as the shortest voltage abnormal time herein) from the occurrence of an abnormality of the power supply voltage of the network device to the recovery of the power supply voltage of the network device may be determined based on an external power supply manner of the network device, and a time threshold may be determined based on the shortest voltage abnormal time.
Illustratively, the abnormal supply voltage to the normal state includes: the power supply voltage is changed from being in the normal voltage range to not being in the normal voltage range (such as exceeding the preset upper voltage limit or being lower than the preset lower voltage limit), and then the power supply voltage is restored from not being in the normal voltage range to being in the normal voltage range.
For example, taking the network device powered by the external DC48V adapter as an example, the shortest time for the supply voltage to return to normal after falling/overshoot is about 1.5ms, and therefore, the sampling period of the sampling unit in the single chip microcomputer should be less than 1.5 ms.
In addition, after the single chip microcomputer samples the power supply voltage of the network device for one time, the single chip microcomputer needs to compare the power supply voltage obtained by sampling with a preset voltage threshold (such as a preset voltage upper limit or a preset voltage lower limit) to determine whether voltage abnormality occurs or not, and sends abnormal voltage information to a main platform of the network device when the voltage abnormality occurs, and the single chip microcomputer carries out next sampling after completing the series of logic processing, so that the processing time of one-time sampling, judgment and abnormal reporting is required to be not more than 1.5 ms.
In this embodiment, the sampling unit 110 may determine the supply voltage of the network device based on a sampling result of the supply voltage of the network device, and determine whether the supply voltage of the network device is abnormal.
When the sampling unit 110 determines that the power supply voltage of the network device is abnormal, the communication unit 120 may be triggered to send abnormal voltage information to the main platform of the network device, and the main platform of the network device performs alarm processing based on the abnormal voltage information.
Therefore, in the embodiment of the application, the single chip microcomputer is adopted to monitor the power supply voltage of the network equipment, and the single chip microcomputer with the sampling period of the sampling unit meeting the requirement is selected based on the shortest voltage abnormal time of the network, so that the sampling data can be obtained when the power supply voltage of the network equipment is abnormal, and the reliability of monitoring the power supply voltage abnormality of the network equipment is improved.
As a possible embodiment, the sampling unit 110 may be specifically configured to sample a voltage of the voltage division circuit and determine a supply voltage of the network device based on a sampling result.
For example, in consideration of practical application, as for a sampling chip, the supply voltage of the network device may be too high, that is, the sampling chip is used to sample the supply voltage of the network device, and the voltage value may exceed the voltage that the sampling chip can bear, so that, in order to ensure that the sampling chip can work normally, the supply voltage of the network device may be sampled by sampling a voltage division circuit, that is, the voltage of a sampling point is reduced by a specified multiple by using the voltage division circuit, and after the sampling point is sampled to obtain a sampling result, the supply voltage of the network device may be determined based on the sampling result.
For example, assuming that the voltage of the sampling point is reduced by N1 times by the voltage dividing circuit, when the sampling result is obtained by sampling the sampling point, the product of the sampling result and N1 may be determined as the voltage value of the power supply voltage.
In one example, the voltage divider circuit includes a plurality of resistors arranged in parallel.
For example, considering that the resistance value of the resistor usually has a certain error, for example, the resistance value of the resistor with high precision currently has an error of 1%, so that a sampling result obtained by voltage division based on a single resistor may have a certain error, and therefore, in order to improve the sampling precision of the sampling unit, the voltage division circuit may be implemented in a manner of connecting a plurality of resistors in parallel, that is, in a manner of connecting a plurality of resistors in parallel, to reduce the influence of the error of the resistance value of the single resistor on the sampling result.
Illustratively, the plurality of resistors included in the voltage divider circuit may be high precision resistors, such as 1% precision resistors.
It should be noted that, in this example, the greater the number of resistors connected in parallel in the voltage dividing circuit, the higher the accuracy of the sampling result is generally, but the greater the power consumption of the voltage dividing circuit is, and therefore, the number of resistors connected in parallel in the voltage dividing circuit can be determined in consideration of the sampling accuracy and the power consumption in a balanced manner.
For example, after the sampling unit obtains the sampling result by sampling the voltage of the voltage division circuit, the sampling unit may determine the power supply voltage of the network device based on the sampling result.
As a possible embodiment, the single chip is isolated from the main platform of the network device.
For example, considering that the external power supply of the network device is usually a non-isolated power supply, which is likely to affect the communication rate between the single chip and the main platform of the network device, and further, may cause that abnormal voltage information cannot be reported in time, in order to improve the communication rate between the single chip and the main platform of the network device, the single chip and the main platform of the network device may be isolated.
In one example, the single chip microcomputer is isolated from a main platform of the network device in a digital isolation mode.
For example, considering that a common separated optical coupling isolation scheme can only meet the requirement of a low communication rate (about 9600 baud rate), when the communication rate is high, a required isolation effect cannot be obtained by using the common separated optical coupling isolation scheme, therefore, a digital isolation manner (for example, using a digital isolator) may be sampled to isolate the single chip from the main platform of the network device, so as to ensure that the high-speed communication between the single chip and the main platform of the network device is not interfered by the power supply of an external power supply.
As a possible embodiment, as shown in fig. 2, the single chip may further include:
the storage unit 130 is used for storing abnormal voltage information.
For any one of the stored abnormal voltage information, the initial sending state of the abnormal voltage information is a non-sending state, and when the communication unit 120 sends the abnormal information to the master platform of the network device and receives the alarm success feedback message sent by the master platform of the network device, the sending state of the abnormal voltage information is updated to be sent.
For example, in consideration of the fact that in practical application, abnormal voltage information may not be sent to the main platform, or the main platform may not complete alarm processing, and the network device may be abnormally restarted or damaged, in this case, in order to ensure the safety of the single chip microcomputer using the determined abnormal voltage information, the single chip microcomputer may store the abnormal voltage information through the storage unit 130, and further, when the network device is abnormally restarted or damaged, the stored abnormal voltage information may be sent to the main platform of the network device after the network device is restarted, or the abnormal voltage information may be manually read from the storage unit of the single chip microcomputer in a subsequent process, so as to analyze the cause of damage to the network device based on the abnormal voltage information.
For example, it is considered that when the network device is restarted, the single chip microcomputer may not be able to determine whether the recorded abnormal voltage information includes abnormal voltage information that is not sent to the main platform or the main platform does not complete alarm processing.
Based on this, for the abnormal voltage information that stores, the singlechip can also maintain the state of sending of abnormal voltage information.
Illustratively, the transmission status includes unsent or transmitted.
When the single chip microcomputer determines that the power supply voltage of the network equipment is abnormal based on the acquired voltage value, the single chip microcomputer can generate abnormal voltage information corresponding to the acquired voltage value and store the abnormal voltage information, and at the moment, the sending state included in the abnormal voltage information is not sent.
After the communication unit 120 of the single chip sends the abnormal voltage information to the main platform, the main platform may perform alarm processing based on the received abnormal voltage information.
When the main platform finishes the alarm processing, an alarm success feedback message can be sent to the single chip microcomputer to inform the single chip microcomputer that the alarm processing is finished, and at the moment, the single chip microcomputer can update the sending state included in the stored abnormal voltage information from unsent to sent.
In one example, storage unit 130 may include one or more non-self-contained memories.
For example, considering that the storage space of the memory of the single chip microcomputer is usually small, the amount of the abnormal voltage information which can be stored in the memory is low, and in order to ensure that the single chip microcomputer can have enough storage space to store the abnormal voltage information, the single chip microcomputer can be externally connected with one or more non-self memories according to requirements.
In an embodiment, an embodiment of the present application further provides a network device, as shown in fig. 3, the network device may include a single chip microcomputer 300 and a main platform 310; wherein:
the single chip microcomputer 300 may be the single chip microcomputer described in any of the above embodiments;
and the main platform 310 may be configured to receive abnormal voltage information sent by the single chip microcomputer, and perform alarm processing based on the abnormal voltage information.
In an example, the main platform 310 may be further configured to send an alarm success feedback message to the single chip microcomputer 300 when the abnormal voltage information sent by the single chip microcomputer 300 is received and the alarm processing is completed based on the received abnormal voltage information.
In order to enable those skilled in the art to better understand the technical solutions provided in the embodiments of the present application, the following describes the technical solutions provided in the embodiments of the present application with reference to specific application scenarios.
Please refer to fig. 4, which is a schematic structural diagram of a network device using a single chip microcomputer to monitor a supply voltage according to an embodiment of the present disclosure, and as shown in fig. 4, an STM8 single chip microcomputer is used to monitor a supply voltage. The external of the network equipment is supplied with power by adopting a DC48V adapter, the external power is converted into 5V by a DCDC (Direct Current/Direct Current converter), and then the stable 3.3V power is supplied for an STM8 singlechip by a low dropout Regulator (LDO). The voltage of the voltage division circuit is sampled to determine the power supply voltage, and the voltage division circuit adopts 3 parallel connection designs of 1% precision resistors, so that the sampling precision is improved.
The STM8 singlechip communicates with the main platform through a USART (Universal Synchronous/Asynchronous Receiver/Transmitter, Universal Synchronous/Asynchronous serial Receiver/Transmitter) protocol, and because external power supply is a non-isolated power supply and has more interference, the communication between the STM8 and the main control needs isolation design. The common discrete optical coupling isolation scheme can only meet the communication rate of 9600 baud rate and cannot meet the communication rate requirement of an STM8 single chip microcomputer, so that a digital isolator can be adopted for isolation to meet the communication rate of a Universal Asynchronous Receiver/Transmitter (UART) of an STM8 single chip microcomputer.
Taking an example that an STM8 single chip microcomputer adopts a 10-bit ADC (Analog-to-Digital Converter) pin, a voltage value sampled by the STM8 single chip microcomputer can obtain a data size of 16 bits, if Coordinated Universal Time (UTC) Time information is attached, the data size can reach 32-64 bits, and a 128-bit EEPROM (Electrically Erasable Programmable read only memory) of the STM8 single chip microcomputer cannot meet requirements, so that the storage space can be expanded in a manner of an external memory.
For example, a 128kb serial EEPROM can be used, voltage information data with UTC can be stored about 1.6W, and the SPI interface can guarantee a faster data storage rate.
Because the STM8 singlechip theoretically only needs to use ADC pin and communication function, consequently, the consumption is lower. Using 3.3V 100 mA's STM8 singlechip as an example, only using ADC pin and communication function, the consumption is about 20mA, when the network equipment complete machine falls the power supply, the time that the power supply of STM8 singlechip falls to 2.95V (minimum operating voltage) from 3.3V is about 1.6ms to, can guarantee under the condition that the network equipment complete machine falls the power supply under the condition that need not reserve the battery, SMT8 singlechip can have sufficient time to sample the outside voltage waveform that falls.
Illustratively, the working time of the STM8 single chip microcomputer after the network equipment is powered off can be prolonged by adding the capacitor.
Referring to fig. 5, in this embodiment, the voltage anomaly monitoring implementation process is as follows:
1. after the system is powered on, the SMT8 single chip microcomputer carries out resource initialization, then abnormal voltage information in the EEPROM is read, and the initial position of writing of the abnormal voltage information is determined.
For example, in order to prolong the service life of the EEPROM, data is written into the EEPROM in a cyclic writing mode, so that the SMT8 single chip microcomputer can determine a write address of new abnormal voltage information each time the EEPROM is started, and the new abnormal voltage information is rewritten from a zero address after the EEPROM is fully written.
2. The SMT8 singlechip judges whether voltage is abnormal or not based on the power supply voltage of the network equipment determined by sampling. When the power supply voltage is greater than the upper limit of the threshold value, the high-voltage state processing is started; when the power supply voltage is less than the lower limit of the threshold value, the low-voltage state processing is started; when the power supply voltage is between the lower threshold and the upper threshold, namely, is within the normal voltage range, the normal voltage state processing is entered.
For example, the SMT8 single chip may maintain a voltage status flag bit that indicates whether the power supply voltage of the network device is in a high voltage state, a low voltage state, or a normal voltage state. When the SMT8 single-chip microcomputer monitors that the power supply voltage of the network equipment is abnormal, whether the voltage state changes or not can be determined based on the voltage state flag bit
In this embodiment, the initial value of the voltage status flag bit is a value (which may be referred to as a first value) for indicating that the power supply of the network device is in a normal voltage status; when the SMT8 single chip determines that the supply voltage of the network device is abnormal, the value of the voltage status flag may be set to a value (which may be referred to as a second value) indicating that the supply voltage of the network device is in a high voltage state or a value (which may be referred to as a third value) indicating that the supply voltage of the network device is in a low voltage state according to whether the supply voltage is higher than an upper threshold or lower threshold
3. High-pressure state treatment: if the value of the voltage state flag bit is not the second value, namely the voltage state flag bit enters a high-voltage state for the first time, updating the value of the voltage state flag bit to be the second value, writing abnormal voltage information (current time, voltage value, voltage state and transmission state) into an EEPROM, and sending the abnormal voltage information to a main platform to trigger alarm, wherein the transmission state is not sent; and when an alarm success feedback message returned by the main platform is received, updating the sending state in the stored abnormal voltage information into the sent state. If the value of the voltage state zone bit is a second value, namely the voltage state zone bit does not enter a high-voltage state for the first time, a strategy of time-interval transmission is adopted, namely voltage information is stored once every 200ms (namely the first time interval), and is not transmitted to the main platform (the transmission state is not transmitted), the change trend of abnormal voltage is recorded, and the problem is conveniently checked in the later period; when the time interval from the last sending of the abnormal voltage information reaches 1S (namely, the second time interval), the abnormal voltage information is stored and sent every 10S (namely, the third time interval) so as to avoid too frequent alarm uploading caused by the fact that the power supply of the network equipment is in a high-voltage state for a long time.
4. And (3) low-pressure state treatment: if the value of the voltage state flag bit is not the third value, namely the voltage state flag bit enters a low-voltage state for the first time, updating the value of the voltage state flag bit to be the third value, writing abnormal voltage information (current time, voltage value, voltage state and transmission state) into an EEPROM, and sending the abnormal voltage information to a main platform to trigger alarm, wherein the transmission state is not sent; and when an alarm success feedback message returned by the main platform is received, updating the sending state in the stored abnormal voltage information into the sent state. If the value of the voltage state zone bit is a third value, namely the voltage state zone bit does not enter a low-voltage state for the first time, a strategy of time-division sending is adopted, namely voltage information (including time, voltage value, voltage state and other information) is recorded once every 200ms and is not sent to a main platform (the sending state is not sent), the change trend of abnormal voltage is recorded, and the problem of later-stage acquisition and troubleshooting is facilitated; when the time interval from the last sending of the abnormal voltage information reaches 1S, the abnormal voltage information is stored and sent every 10S, so that the phenomenon that the alarm is uploaded too frequently due to the fact that a power supply of the network equipment is in a low-voltage state for a long time is avoided.
5. And (3) normal voltage state processing: when the voltage is in the normal voltage range, the value of the voltage status flag bit is set to a first value.
6. Actively uploading unsent alarm information: because the SMT8 singlechip does not support the RTC, a timer is adopted for timing, and a timing command is issued at fixed intervals by the main platform to calibrate the time of the SMT8 singlechip. Therefore, when the SMT8 single chip microcomputer receives a timing command of the main platform for the first time, the abnormal voltage information in the EEPROM can be read, and the stored abnormal voltage information with the sending state of unsent is sent to the main platform, so that abnormal restarting or damage caused by the fact that the equipment does not send the abnormal voltage information to the main platform or the main platform does not finish alarm processing is avoided, and the problems of abnormal restarting and damage of the positioning equipment due to power supply reasons are greatly facilitated.
7. The main platform acquires information stored in the EEPROM: when the SMT8 single chip receives a command issued by the host platform, the received command needs to be analyzed and processed so as to support the function supported by the serial port communication.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (9)

1. The single chip microcomputer is applied to network equipment and is characterized by comprising:
the sampling unit is used for sampling the power supply voltage of the network equipment; the sampling period of the sampling unit is lower than a preset time threshold, the preset time threshold is determined based on the shortest voltage abnormal time of the network equipment, and the shortest voltage abnormal time is the shortest time from the occurrence of abnormality of the power supply voltage of the network equipment to the recovery of the power supply voltage of the network equipment;
and the communication unit is used for sending abnormal voltage information to a main platform of the network equipment when the power supply voltage of the network equipment is determined to be abnormal, so that the main platform of the network equipment carries out alarm processing based on the abnormal voltage information.
2. The single-chip microcomputer according to claim 1,
the sampling unit is specifically configured to sample a voltage of the voltage division circuit, and determine a supply voltage of the network device based on a sampling result.
3. The single-chip microcomputer according to claim 2, wherein the voltage dividing circuit comprises a plurality of resistors connected in parallel.
4. The single-chip microcomputer of claim 1, wherein the single-chip microcomputer is isolated from a primary platform of the network device.
5. The single chip microcomputer according to claim 4, wherein the single chip microcomputer is isolated from a main platform of the network device in a digital isolation manner.
6. The single chip microcomputer according to claim 1, further comprising:
a storage unit for storing abnormal voltage information;
and for any one piece of stored abnormal voltage information, the initial sending state of the abnormal voltage information is a non-sending state, and when the communication unit sends the abnormal information to the main platform of the network equipment and receives an alarm success feedback message sent by the main platform of the network equipment, the sending state of the abnormal voltage information is updated to be sent.
7. The single-chip microcomputer according to claim 6, wherein the storage unit comprises one or more non-self-contained memories.
8. A network device, characterized in that, comprising a single chip of any one of claims 1 to 7 and a main platform; wherein:
and the main platform is used for receiving the abnormal voltage information sent by the singlechip and carrying out alarm processing based on the abnormal voltage information.
9. The network device of claim 8,
and the main platform is also used for sending an alarm success feedback message to the single chip microcomputer when receiving the abnormal voltage information sent by the single chip microcomputer and finishing alarm processing based on the abnormal voltage information.
CN202010457559.2A 2020-05-26 2020-05-26 Singlechip and network equipment Active CN113726529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010457559.2A CN113726529B (en) 2020-05-26 2020-05-26 Singlechip and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010457559.2A CN113726529B (en) 2020-05-26 2020-05-26 Singlechip and network equipment

Publications (2)

Publication Number Publication Date
CN113726529A true CN113726529A (en) 2021-11-30
CN113726529B CN113726529B (en) 2023-11-21

Family

ID=78672143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010457559.2A Active CN113726529B (en) 2020-05-26 2020-05-26 Singlechip and network equipment

Country Status (1)

Country Link
CN (1) CN113726529B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016019486A1 (en) * 2014-08-04 2016-02-11 深圳欧陆通电子有限公司 Power supply and battery management module compatible with common redundant power supply
CN205283253U (en) * 2015-12-23 2016-06-01 上海宝康电子控制工程有限公司 Paper record appearance is not had in alternating voltage remote monitoring
WO2018192435A1 (en) * 2017-04-18 2018-10-25 中兴通讯股份有限公司 Alarm method and device for electric equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016019486A1 (en) * 2014-08-04 2016-02-11 深圳欧陆通电子有限公司 Power supply and battery management module compatible with common redundant power supply
CN205283253U (en) * 2015-12-23 2016-06-01 上海宝康电子控制工程有限公司 Paper record appearance is not had in alternating voltage remote monitoring
WO2018192435A1 (en) * 2017-04-18 2018-10-25 中兴通讯股份有限公司 Alarm method and device for electric equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姜思卓等: "电力计量装置电压异常状态检测系统设计", 《计算机测量与控制》 *

Also Published As

Publication number Publication date
CN113726529B (en) 2023-11-21

Similar Documents

Publication Publication Date Title
CN101124619B (en) Digital power manager for controlling and monitoring an array of point-of-load regulators
CN109937584B (en) Fault detection method of intelligent door lock, intelligent door lock and storage medium
CN102870097A (en) Maintenance controller, maintenance method, and maintenance system
US10219134B2 (en) Bluetooth low energy based emergency backup and recovery solution in an industrial controller
CN105262220B (en) Substation's intelligence shutdown telecontrol information check method and system
EP3220225A1 (en) Relay device, control method of relay device, control program and recording medium
CN102840992A (en) Satellite-borne self-testing method based on satellite network
US20200213940A1 (en) Controller for precisely powering remote radio heads on a cell tower
EP3624296B1 (en) Battery management system and communication method thereof
CN112531224A (en) Battery management system and automatic address allocation method for battery management unit
CN103809502A (en) Controller and program
CN113726529B (en) Singlechip and network equipment
CN204463278U (en) A kind of some inspection terminal, marking equipment and some cruising inspection system
CN110620674B (en) Configuration method of monitoring system and computer equipment
CN113796094A (en) Master module and control program for device control apparatus
US9851410B2 (en) Techniques to provide a low capacity notification for an energy store device
CN115378082A (en) CAN bus communication address automatic allocation method, battery management method and system
CN114189897B (en) Fault detection method and device for wireless sensor system
CN113472891B (en) SDN controller cluster data processing method, equipment and medium
CN111817820B (en) Equipment coding method and device and coding system based on two buses
CN110794791B (en) Data transmission method for cigarette factory manufacturing execution system and cigarette shred manufacturing centralized control system
CN105871626B (en) A kind of method and system of communication equipment power supply centralized management
CN109669394B (en) Milling machine construction data storage method
CN106468911B (en) A kind of fault message backup method for fault diagnosis
CN112824127B (en) Multi-path acquisition temperature limit protection device and method for train storage battery box

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
GR01 Patent grant
GR01 Patent grant