[go: up one dir, main page]

CN110750390A - Method and device for storing angle value of heliostat controller in power-down mode - Google Patents

Method and device for storing angle value of heliostat controller in power-down mode Download PDF

Info

Publication number
CN110750390A
CN110750390A CN201911321179.XA CN201911321179A CN110750390A CN 110750390 A CN110750390 A CN 110750390A CN 201911321179 A CN201911321179 A CN 201911321179A CN 110750390 A CN110750390 A CN 110750390A
Authority
CN
China
Prior art keywords
chip
memory
heliostat
encryption
angle
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
CN201911321179.XA
Other languages
Chinese (zh)
Other versions
CN110750390B (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.)
Cosin Solar Technology Co Ltd
Original Assignee
Zhejiang Supcon Solar Energy 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 Zhejiang Supcon Solar Energy Technology Co Ltd filed Critical Zhejiang Supcon Solar Energy Technology Co Ltd
Priority to CN201911321179.XA priority Critical patent/CN110750390B/en
Publication of CN110750390A publication Critical patent/CN110750390A/en
Application granted granted Critical
Publication of CN110750390B publication Critical patent/CN110750390B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1666Error detection or correction of the data by redundancy in hardware where the redundant component is memory or memory area
    • G06F11/167Error detection by comparing the memory output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D3/00Control of position or direction
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • G06F3/0623Securing storage systems in relation to content
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

The invention provides a method and a device for storing an angle value of a heliostat controller in a power-down manner, wherein the method comprises the following steps: if the first output level is detected to be a high level, reading a plurality of angle values recorded by the heliostat controller for a specific heliostat; carrying out encryption processing on the average value to generate an encryption angle value; if the second output level is detected to be a high level, storing the encryption angle value in the on-chip first memory, the off-chip second memory and the off-chip third memory respectively; respectively reading back and comparing the encryption angle values stored in the memories, and clearing the encryption angle values stored in the memories if the encryption angle values stored in the memories are different; and if the second output level is detected to be low level and the duration time exceeds 5s, clearing the encryption angle value stored in each memory. The method can accurately and completely store the current angle of the heliostat so as to avoid the influence caused by sudden power failure.

Description

Method and device for storing angle value of heliostat controller in power-down mode
Technical Field
The invention relates to the field of solar thermal power generation, in particular to a method and a device for storing an angle value of a heliostat controller in a power-down mode.
Background
Solar thermal power generation is one of the main current solar energy utilization modes, and can be divided into tower type solar thermal power generation, groove type solar thermal power generation and disc type solar thermal power generation according to different solar energy collection modes, wherein the tower type solar thermal power generation is a next novel energy technology capable of being operated commercially due to the advantages of high light-heat conversion efficiency, high focusing temperature, simple installation and debugging of a control system, low heat dissipation loss and the like.
In the field of tower-type solar thermal power generation, a heliostat controller is an important component of a tower-type solar thermal power generation system, is a driving device of a heliostat, and is used for receiving a command issued by a host and executing a corner of the heliostat. As shown in fig. 1, the heliostat reflects sunlight to the fixed heat absorber through the angle adjustment heliostat, and heats the heat absorbing medium, so as to convert light energy into heat energy, and further drive the steam turbine to generate electricity.
In the operation process of the heliostat, the situation of power failure of the heliostat controller is often encountered, the current rotation angle of the heliostat needs to be recorded when the power failure occurs, the angle value needs to participate in the control and operation of the next round, the angle value cannot be lost after the power failure of the heliostat controller, and the data needs to be used for judgment, calculation or control after the power failure of the heliostat controller is restarted. The current processing method is to store the angle value in a nonvolatile memory of a control system, so that most data and possibly all data can be stored even after the control system is powered down, but if software is written into an angle value in a FLASH in a heliostat controller chip at the moment of power down or the memory works abnormally due to the fluctuation of voltage at the moment of power down and power up, data errors or incompleteness are easily caused, abnormal operation after power up is caused again, or great deviation occurs in data calculation.
Disclosure of Invention
The invention aims to provide a method and a device for accurately and completely storing the current angle of a heliostat, so as to avoid the influence caused by sudden power failure, ensure the integrity of angle data and improve the reliability and safety of a control system.
In order to solve the above problems, the present invention provides a method for storing an angle value of a heliostat controller in case of power failure, which is used for storing a current angle value of each heliostat for each heliostat when the heliostat controller is in power failure, wherein a process for storing an angle value for each heliostat comprises the following steps: s1: if the first output level is detected to be a high level, reading a plurality of angle values recorded by a heliostat controller for a specific heliostat, wherein the first output level is obtained by comparing a first input voltage with a preset reference voltage, and the first input voltage is a voltage directly input into the heliostat controller; s2: calculating the average value of all angle values; s3: encrypting the average value to generate an encryption angle value; s4: if the second output level is detected to be a high level, storing the encryption angle value in an on-chip first memory, an off-chip second memory and an off-chip third memory respectively, wherein the second output level is obtained according to comparison between a second input voltage and a preset reference voltage, and the second input voltage is a voltage which is isolated by a diode and is input to the heliostat controller after energy storage of an enlarged capacitor; s5: respectively reading back and comparing the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, if the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory are different, clearing the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, and jumping to step S7; s6: if the second output level is detected to be low level and the duration time exceeds 5S, clearing the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, and jumping to step S7; s7: and exiting the process of storing the angle value for the heliostat.
Preferably, after the step S7, the method further includes the following steps: s8: and when the heliostat controller is powered on again, respectively reading the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, if the encryption angle values stored in any two positions of at least the on-chip first memory, the off-chip second memory and the off-chip third memory are the same, decrypting the same encryption angle value, and taking the decrypted value as an initial angle.
Preferably, the encryption angle value is an encryption angle value group, and the encryption angle value group includes a plurality of encryption angle values.
Preferably, the reading the encryption angle values stored in the on-chip first memory, the off-chip second memory, and the off-chip third memory respectively specifically includes: reading a plurality of encryption angle values in the encryption angle value groups stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, respectively; for the first memory, the second memory and the third memory, if the encryption angle values are not less than 80% of the encryption angle values, the same encryption angle value is the encryption angle value read from the corresponding memory, otherwise, the encryption angle value cannot be read from the memory.
Preferably, in the step S1, the angle values are 8 angle values.
Preferably, the on-chip first memory is an on-chip FLASH, the off-chip second memory is an off-chip FLASH, and the off-chip third memory is an off-chip EEPROM.
The invention also provides a device for storing the angle value of the heliostat controller in the case of power failure, which comprises the following steps: the power failure detection circuit comprises a first power failure detection circuit and a second power failure detection circuit, wherein the first power failure detection circuit is used for detecting a first input voltage directly input into the heliostat controller and outputting a first output level; the second power failure detection circuit is used for inputting a second input voltage of the heliostat controller after the energy is stored through the diode isolation and the capacitor is enlarged, and outputting a second output level; the power-down voltage holding circuit comprises an electrolytic capacitor or a super capacitor and is used for supplying power for no more than 5s to the main controller of the given heliostat after power failure; the storage module comprises an on-chip first storage, an off-chip second storage and an off-chip third storage of a heliostat controller MCU, and the on-chip first storage, the off-chip second storage and the off-chip third storage are all used for storing heliostat angle information; a heliostat controller for recording a number of angular values for each heliostat; the heliostat controller detects a first output level and a second output level, calculates an average value of all the angle values when the first output level is a high level, and encrypts the average value to generate an encrypted angle value; when the second output level is a high level, the encryption angle value is respectively stored in the on-chip first memory, the off-chip second memory and the off-chip third memory; reading back and judging whether the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory are correct or not; and judging whether the heliostat controller is powered down successfully or not according to the second output level.
Preferably, the first power down detection circuit includes a first low pass filter and a first comparator, the first low pass filter is configured to filter out noise with a frequency higher than 100Hz, and the first comparator compares the first input voltage with a preset reference voltage and outputs the first output level.
Preferably, the second power down detection circuit includes a second low pass filter and a second comparator, the second low pass filter is configured to filter out noise with a frequency higher than 100Hz, and the second comparator compares the second input voltage with a preset reference voltage and outputs the second output level.
Preferably, the on-chip first memory is an on-chip FLASH, the off-chip second memory is an off-chip FLASH, and the off-chip third memory is an off-chip EEPROM.
Compared with the prior art, the invention has the following technical effects:
1. the embodiment of the invention provides a method and a device for accurately and completely storing the current angle of a heliostat, which can avoid the influence caused by sudden power failure.
2. The embodiment of the invention ensures the integrity of the angle data of the heliostat and improves the reliability and safety of the control system.
Of course, it is not necessary for any product in which the invention is practiced to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. In the drawings:
FIG. 1 is a schematic diagram of a tower-type solar thermal power generation system;
FIG. 2 is a schematic structural diagram of an apparatus for storing an angle value in case of power-down of a heliostat controller in accordance with embodiment 1;
FIG. 3 is a schematic diagram of a method for storing angle values in a heliostat controller in a power-down state according to embodiment 2;
fig. 4 is a power down detection circuit diagram of embodiment 1.
Detailed Description
The method and apparatus for storing angle values during power down of a heliostat controller according to the present invention will be described in detail with reference to the accompanying drawings, which are implemented on the premise of the technical solution of the present invention, and a detailed implementation manner and a specific operation process are provided, but the scope of the present invention is not limited to the following embodiments, and those skilled in the art can modify and revise the method and apparatus without changing the spirit and content of the present invention.
Example 1
The embodiment provides a device for storing an angle value when a heliostat controller is powered down, referring to fig. 2, including:
the power failure detection circuit 2 comprises a first power failure detection circuit and a second power failure detection circuit, wherein the first power failure detection circuit is used for detecting a first input voltage directly input into the heliostat controller 1 and outputting a first output level; the second power failure detection circuit is used for inputting a second input voltage of the heliostat controller 1 after isolating through a diode and increasing the energy stored by a capacitor, and outputting a second output level;
the power-down voltage holding circuit 4 comprises an electrolytic capacitor or a super capacitor and is used for supplying power to the given heliostat main controller 1 for no more than 5s after power failure;
the storage module 3 comprises an on-chip first storage, an off-chip second storage and an off-chip third storage of a main controller MCU of the heliostat controller 1, wherein the on-chip first storage, the off-chip second storage and the off-chip third storage are all used for storing heliostat angle information;
the heliostat controller 1 is used for recording a plurality of angle values of each heliostat; a GPIO of a heliostat controller MCU detects a first output level output by a first comparator and a second output level output by a second comparator, calculates an average value of all angle values when the first output level is high level, and encrypts the average value to generate an encrypted angle value; when the second output level is a high level, the encryption angle value is respectively stored in the on-chip first memory, the off-chip second memory and the off-chip third memory; reading back and judging whether the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory are correct or not; and judging whether the heliostat controller is powered down successfully or not according to the second output level.
Specifically, the first memory inside the chip is an on-chip FLASH, the second memory outside the chip is an off-chip FLASH, and the third memory outside the chip is an off-chip EEPROM.
In this embodiment, referring to fig. 3, the first power down detection circuit includes a first low pass filter and a first comparator, the first low pass filter is configured to filter noise waves with a frequency higher than 100Hz, and the first comparator compares the first input voltage with a preset reference voltage and outputs the first output level.
In this embodiment, the second power down detection circuit includes a second low pass filter and a second comparator, the second low pass filter is configured to filter out noise waves with a frequency higher than 100Hz, and the second comparator compares the second input voltage with a preset reference voltage and outputs the second output level.
Example 2
Based on the apparatus for storing an angle value in case of power failure of a heliostat controller in embodiment 1, this embodiment further provides a method for storing an angle value in case of power failure of a heliostat controller, where the method is used to store a current angle value for each heliostat when the heliostat controller is powered down, and referring to fig. 4, a process for storing an angle value for each heliostat includes the following steps:
s1: if the first output level is detected to be a high level, reading a plurality of angle values recorded by a heliostat controller for a specific heliostat, wherein the first output level is obtained by comparing a first input voltage with a preset reference voltage, and the first input voltage is a voltage directly input into the heliostat controller;
in this embodiment, the power-down detection circuit detects that the first output level is a high level, that is, the first input voltage directly input to the heliostat controller detected by the first power-down detection circuit is lower than a preset reference voltage, and the output level of the first comparator is changed into the high level through inversion, then a plurality of angle values recorded in a recent period of time are read, and 8 angle values are obtained, so that understandably, other number of angle values can be obtained according to the actual situation of the heliostat in the heliostat field, so as to reduce the error of the heliostat caused by inertial rotation during power-down;
meanwhile, the MCU of the heliostat controller enters a GPIO interrupt service function, all processes of the heliostat controller are stopped, and the rotation of the heliostat is stopped.
S2: calculating the average value of all angle values;
s3: encrypting the average value to generate an encryption angle value;
in this embodiment, the encryption angle value is an encryption angle value group, and the encryption angle value group includes a plurality of encryption angle values.
Specifically, because the angle data only use 16 bits, and the actual definition data is 32 bits, the averaged angle data is encrypted and error-proof to generate a plurality of encrypted angle values to form an encrypted angle value group; the following describes the encryption error-proofing process with a specific example:
first, assume that the average value obtained by calculation is 0x 00006879;
then, the average value is encrypted and error-proof to generate:
first encryption angle value: 0x 658A 759A
Second encryption angle value: 0x 58A 759A 6
Third encryption angle value: 0x 8A 759A 65
Fourth encryption angle value: 0x A759A 658
Fifth rating angle value: 0x 759A 658A
Finally, the 5 encryption angle values are temporarily stored by using variables of 5 different addresses.
S4: if the second output level is detected to be a high level, storing the encryption angle value in an on-chip first memory, an off-chip second memory and an off-chip third memory respectively, wherein the second output level is obtained according to comparison between a second input voltage and a preset reference voltage, and the second input voltage is a voltage which is isolated by a diode and is input to the heliostat controller after energy storage of an enlarged capacitor;
in this embodiment, the power failure detection circuit detects that the second output level is a high level, that is, the second input voltage, which is detected by the second power failure detection circuit and is input to the heliostat controller after being isolated by the diode and the energy stored by the enlarged capacitor, is smaller than the preset reference voltage, and the output level of the first comparator is changed into the high level through inversion, and then the 5 encryption angle values generated in step S3 are respectively stored in the on-chip FLASH, the off-chip FLASH through the SPI interface, and the on-chip EEPROM through the IIC interface.
S5: respectively reading back and comparing the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, if the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory are different, clearing the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, and jumping to step S7;
after the encryption angle values are written into the memories, in order to detect whether the written data are correct, the heliostat controller respectively reads back 5 encryption angle values from 3 memories, if the encryption angle values of which the number is not less than 80% (namely 4) are the same in the 5 encryption angle values read back from a certain memory, the same encryption angle value is the encryption angle value read from the memory, otherwise, the encryption angle value cannot be read from the memory;
further, if the read-back encryption angle values in at least 2 memories are the same, the stored data is correct; and if not, the stored data is wrong, the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory are cleared, and the current process of storing the angle values for the heliostat is exited.
S6: if the second output level is detected to be low level and the duration time exceeds 5S, clearing the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, and jumping to step S7;
after the step S5 completes storing the encrypted angle value data, it is further determined whether the power down is successful (i.e., whether the power down is true) through the step S6. The GPIO of the heliostat controller MCU continues to detect the output of the power failure detection circuit comparator, if the output low level is kept for more than 5 seconds, the voltage of the heliostat controller is restored to be normal, and the heliostat controller starts to work again; if the system voltage does not return to normal within 5 seconds, the power failure is successful.
S7: and exiting the process of storing the angle value for the heliostat.
And after the storage of the encryption angle value is completed and the verification is correct, exiting the process of storing the angle value of the heliostat.
S8: and when the heliostat controller is powered on again, respectively reading the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, if the encryption angle values stored in any two positions of at least the on-chip first memory, the off-chip second memory and the off-chip third memory are the same, decrypting the same encryption angle value, and taking the decrypted value as an initial angle.
When the heliostat controller is powered on again, the heliostat controller MCU reads 5 encryption angle values from the 3 memories respectively, if the encryption angle values of which the number is not less than 80% (namely 4) are the same in the 5 encryption angle values read back from a certain memory, the same encryption angle value is the encryption angle value read from the memory, otherwise, the encryption angle value cannot be read from the memory;
further, if the encrypted angle values read back from at least 2 memories are the same, it indicates that the stored data is correct, and the decrypted encrypted angle values are used as the initial angle values after power-on again; and if not, the stored data is wrong, the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory are cleared, and the default initialization angle value is used as the initial angle value after the power-on is carried out again.
The disclosure above is only one specific embodiment of the present application, but the present application 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 application.

Claims (10)

1. A method for storing an angle value of a heliostat controller in case of power failure is characterized in that the method is used for storing the current angle value of each heliostat when the heliostat controller is in case of power failure, and the process for storing the angle value of each heliostat comprises the following steps:
s1: if the first output level is detected to be a high level, reading a plurality of angle values recorded by a heliostat controller for a specific heliostat, wherein the first output level is obtained by comparing a first input voltage with a preset reference voltage, and the first input voltage is a voltage directly input into the heliostat controller;
s2: calculating the average value of all angle values;
s3: encrypting the average value to generate an encryption angle value;
s4: if the second output level is detected to be a high level, storing the encryption angle value in an on-chip first memory, an off-chip second memory and an off-chip third memory respectively, wherein the second output level is obtained according to comparison between a second input voltage and a preset reference voltage, and the second input voltage is a voltage which is isolated by a diode and is input to the heliostat controller after energy storage of an enlarged capacitor;
s5: respectively reading back and comparing the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, if the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory are different, clearing the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, and jumping to step S7;
s6: if the second output level is detected to be low level and the duration time exceeds 5S, clearing the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, and jumping to step S7;
s7: and exiting the process of storing the angle value for the heliostat.
2. The method for power down storage of angle values for a heliostat controller of claim 1, further comprising, after step S7, the steps of:
s8: and when the heliostat controller is powered on again, respectively reading the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, if the encryption angle values stored in any two positions of at least the on-chip first memory, the off-chip second memory and the off-chip third memory are the same, decrypting the same encryption angle value, and taking the decrypted value as an initial angle.
3. The method of power-down storage of angle values for a heliostat controller of claim 1 or 2, wherein the encrypted angle values are a set of encrypted angle values comprising a plurality of encrypted angle values.
4. The method for storing an angle value during power down of a heliostat controller according to claim 3, wherein the reading the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory respectively comprises: reading a plurality of encryption angle values in the encryption angle value groups stored in the on-chip first memory, the off-chip second memory and the off-chip third memory, respectively; for the first memory, the second memory and the third memory, if the encryption angle values are not less than 80% of the encryption angle values, the same encryption angle value is the encryption angle value read from the corresponding memory, otherwise, the encryption angle value cannot be read from the memory.
5. The method for storing angle values during power down of a heliostat controller of claim 1, wherein in step S1, the angle values are 8 angle values.
6. The method for power down storage of angle values for a heliostat controller of any of claims 1-5 wherein the on-chip first memory is an on-chip FLASH, the off-chip second memory is an off-chip FLASH, and the off-chip third memory is an off-chip EEPROM.
7. A heliostat controller power-down stores angle value's device which characterized in that includes:
the power failure detection circuit comprises a first power failure detection circuit and a second power failure detection circuit, wherein the first power failure detection circuit is used for detecting a first input voltage directly input into the heliostat controller and outputting a first output level; the second power failure detection circuit is used for inputting a second input voltage of the heliostat controller after the energy is stored through the diode isolation and the capacitor is enlarged, and outputting a second output level;
the power-down voltage holding circuit comprises an electrolytic capacitor or a super capacitor and is used for supplying power for no more than 5s to the main controller of the given heliostat after power failure;
the storage module comprises an on-chip first storage, an off-chip second storage and an off-chip third storage of a heliostat controller MCU, and the on-chip first storage, the off-chip second storage and the off-chip third storage are all used for storing heliostat angle information;
a heliostat controller for recording a number of angular values for each heliostat; the heliostat controller detects a first output level and a second output level, calculates an average value of all the angle values when the first output level is a high level, and encrypts the average value to generate an encrypted angle value; when the second output level is a high level, the encryption angle value is respectively stored in the on-chip first memory, the off-chip second memory and the off-chip third memory; reading back and judging whether the encryption angle values stored in the on-chip first memory, the off-chip second memory and the off-chip third memory are correct or not; and judging whether the heliostat controller is powered down successfully or not according to the second output level.
8. The apparatus for power down storing an angle value for a heliostat controller of claim 7, wherein the first power down detection circuit comprises a first low pass filter for filtering out noise with a frequency higher than 100Hz and a first comparator for comparing the first input voltage with a preset reference voltage and outputting the first output level.
9. The apparatus for power down storing an angle value for a heliostat controller of claim 7, wherein the second power down detection circuit comprises a second low pass filter for filtering out noise with a frequency higher than 100Hz and a second comparator for comparing the second input voltage with a preset reference voltage and outputting the second output level.
10. The apparatus for power down storage of an angle value for a heliostat controller of any of claims 7-9 wherein the on-chip first memory is an on-chip FLASH, the off-chip second memory is an off-chip FLASH, and the off-chip third memory is an off-chip EEPROM.
CN201911321179.XA 2019-12-20 2019-12-20 Method and device for storing angle value of heliostat in case of power failure Active CN110750390B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911321179.XA CN110750390B (en) 2019-12-20 2019-12-20 Method and device for storing angle value of heliostat in case of power failure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911321179.XA CN110750390B (en) 2019-12-20 2019-12-20 Method and device for storing angle value of heliostat in case of power failure

Publications (2)

Publication Number Publication Date
CN110750390A true CN110750390A (en) 2020-02-04
CN110750390B CN110750390B (en) 2020-04-17

Family

ID=69285970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911321179.XA Active CN110750390B (en) 2019-12-20 2019-12-20 Method and device for storing angle value of heliostat in case of power failure

Country Status (1)

Country Link
CN (1) CN110750390B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3657149B2 (en) * 1999-08-18 2005-06-08 アルパイン株式会社 Navigation device
US20060041738A1 (en) * 2004-08-17 2006-02-23 Yu-Chen Lai Recovery method for master boot record of hard disk drive
CN105302482A (en) * 2015-10-15 2016-02-03 北京友信宏科电子科技有限公司 Parameter storage method and apparatus as well as automobile controller
CN106557438A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of method of power down protection, device and electronic equipment
CN110445876A (en) * 2019-08-19 2019-11-12 深圳市九兴智能技术有限公司 The management system of power failure data based on Internet of Things
CN110515538A (en) * 2019-07-18 2019-11-29 安徽力高新能源技术有限公司 A kind of dynamic lithium battery SOC storage method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3657149B2 (en) * 1999-08-18 2005-06-08 アルパイン株式会社 Navigation device
US20060041738A1 (en) * 2004-08-17 2006-02-23 Yu-Chen Lai Recovery method for master boot record of hard disk drive
CN106557438A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of method of power down protection, device and electronic equipment
CN105302482A (en) * 2015-10-15 2016-02-03 北京友信宏科电子科技有限公司 Parameter storage method and apparatus as well as automobile controller
CN110515538A (en) * 2019-07-18 2019-11-29 安徽力高新能源技术有限公司 A kind of dynamic lithium battery SOC storage method
CN110445876A (en) * 2019-08-19 2019-11-12 深圳市九兴智能技术有限公司 The management system of power failure data based on Internet of Things

Also Published As

Publication number Publication date
CN110750390B (en) 2020-04-17

Similar Documents

Publication Publication Date Title
KR101062755B1 (en) Semiconductor memory system including ECC circuit and control method thereof
CN108062259B (en) MCU internal data storage ECC processing system and processing method thereof
JP2008171163A (en) Flash memory module, storage device using the flash memory module as a recording medium, and address conversion table verification method for the flash memory module
CN101859283A (en) Method for controlling built-in radio frequency identification (RFID) encrypted solid-state hard disk
EP4246329B1 (en) Error correction method and apparatus
US20110271032A1 (en) Access device and memory controller
KR102087755B1 (en) Semiconductor memory device and semiconductor system having the same
CN106648982A (en) Electric energy meter power down protection data storing method
CN102541690B (en) Intelligent card and method for recovering data
CN103544080B (en) A kind of data guard method, Apparatus and system
CN102521062A (en) Software fault-tolerant method capable of comprehensively on-line self-detection single event upset
CN105653332B (en) A kind of MCU system and method for burn-recording for correcting OTP burning problem
US10725856B2 (en) Error correction to reduce a failure in time rate
TW202036570A (en) Data reading method, storage controller and storage device
CN105590654A (en) Sleep Mode Operation For Volatile Memory Circuits
TW202029188A (en) Data reading method, storage controller and storage device
CN102646453A (en) Method and system for testing error correcting code module in NandFlash controller
TWI564904B (en) Data managing method, memory control circuit unit and memory storage apparatus
CN204374981U (en) Based on the Intelligent treatment equipment of computing machine verification code information treatment technology
CN110750390B (en) Method and device for storing angle value of heliostat in case of power failure
US20110004817A1 (en) Crc management method performed in sata interface and data storage device using crc management method
CN101634938A (en) Data migration method and data migration device of solid state disk and solid state disk
JP6052294B2 (en) Recording / reproducing apparatus, error correction method, and control apparatus
CN102520223B (en) Software anti-interference method used for electric energy meter
US20140229796A1 (en) Electronic Control Apparatus

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310018 1-2603, No. 501, No. 2 street, Baiyang street, Hangzhou Economic and Technological Development Zone, Zhejiang Province

Patentee after: Zhejiang Kesheng Technology Co.,Ltd.

Address before: 310053 8 and 9 floors of No. 307 Liuhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: ZHEJIANG SUPCON SOLAR ENERGY TECHNOLOGY Co.,Ltd.