CN216481510U - Electric quantity data storage device, controller and multi-online system - Google Patents

Electric quantity data storage device, controller and multi-online system Download PDF

Info

Publication number
CN216481510U
CN216481510U CN202121541286.6U CN202121541286U CN216481510U CN 216481510 U CN216481510 U CN 216481510U CN 202121541286 U CN202121541286 U CN 202121541286U CN 216481510 U CN216481510 U CN 216481510U
Authority
CN
China
Prior art keywords
quantity data
chip
output
detection circuit
storage device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202121541286.6U
Other languages
Chinese (zh)
Inventor
马翠明
金国华
王文灿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202121541286.6U priority Critical patent/CN216481510U/en
Application granted granted Critical
Publication of CN216481510U publication Critical patent/CN216481510U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The utility model relates to an electric quantity data storage device, controller and multi-online system, electric quantity data storage device includes opto-coupler detection circuit, opto-coupler detection circuit's input is connected with power supply, opto-coupler detection circuit's output is used for output level signal, level signal changes according to power supply's output voltage, control module, be connected with opto-coupler detection circuit, an output level signal for acquireing opto-coupler detection circuit, judge whether take place the power failure incident according to output level signal, a storage module, be connected with control module, a store to electric quantity data when taking place the power failure incident. According to the method and the device, on the premise that the storage chip is not required to be frequently erased and written, whether a power failure event happens or not is detected through a hardware circuit so as to realize timely storage of electric quantity data, the service life of the storage chip is prolonged, and the accuracy of the stored electric quantity data is improved.

Description

Electric quantity data storage device, controller and multi-online system
Technical Field
The application belongs to the technical field of electric quantity storage, and particularly relates to an electric quantity data storage device, a controller and a multi-split system.
Background
At present, a plurality of electric appliances such as an air conditioner have an electric quantity metering function, the electric quantity metering function usually needs to store a large amount of electric quantity data according to electric quantity parameters needing to be calculated, and the electric quantity data need to be written into a chip with a storage function at regular time. However, due to the limitation of the erasing times of the memory chip, the memory chip cannot be erased without limit, and the service life of the memory chip is influenced by frequent erasing operations; in addition, when the unit is abnormally powered down, the electric quantity data before the power down is not written into the storage chip in time, so that the electric quantity data are inaccurate.
SUMMERY OF THE UTILITY MODEL
In order to overcome at least to a certain extent that the service life of a storage chip is influenced by frequent erasing and writing operations in the electric quantity data storage process, when a unit is abnormally powered down, the problem that the electric quantity data is inaccurate due to the fact that the electric quantity data before the power down is not written into the storage chip in time is solved.
In a first aspect, the present application provides an electrical quantity data storage device, comprising:
the input end of the optical coupling detection circuit is connected with a power supply, and the output end of the optical coupling detection circuit is used for outputting a level signal which changes according to the output voltage change of the power supply;
the control module is connected with the optocoupler detection circuit and used for acquiring an output level signal of the optocoupler detection circuit and judging whether a power failure event occurs or not according to the output level signal;
and the storage module is connected with the control module and used for storing the electric quantity data when a power failure event occurs.
Further, the optical coupling detection circuit includes:
the optical coupler comprises a first optical coupler chip and a second optical coupler chip;
the input anode of the first optical coupling chip is connected with the output end of the first diode, the input end of the first diode is connected with a live wire of a power supply, the input cathode of the first optical coupling chip is connected with a zero wire of the power supply, the output end of the first optical coupling chip is connected with a first output end, when the first optical coupling chip is conducted, the first output end outputs a low level, otherwise, the first output end outputs a high level;
the second diode, the input positive pole of second opto-coupler chip with the output of second diode is connected, the input and the power supply zero line of second diode are connected, the input negative pole and the power supply live wire of second opto-coupler chip are connected, the second output is connected to the output of second opto-coupler chip when second opto-coupler chip switches on, the low level of second output, otherwise the high level of second output.
Further, the method also comprises the following steps:
the first current limiting resistor is arranged between the first optical coupler chip and the first diode;
and the second current-limiting resistor is arranged between the second optical coupler chip and the second diode.
Further, the method also comprises the following steps:
the first pull-up resistor is connected with the output end of the first optocoupler chip;
and the second pull-up resistor is connected with the output end of the second optical coupler chip.
Further, the method also comprises the following steps:
and the optical coupling detection circuit is arranged between a power supply and the alternating current filtering module.
Further, the method also comprises the following steps:
and the rectifying and filtering module is arranged between the alternating current filtering module and the load.
Further, the rectification filter module comprises:
the filter capacitor is connected in parallel with the output end of the rectifier bridge.
Further, the method also comprises the following steps:
and the negative temperature coefficient thermistor is arranged between the alternating current filtering module and the rectifying and filtering module and is used for inhibiting surge current.
In a second aspect, the present application provides a controller comprising:
the charge data storage device according to the first aspect.
In a third aspect, the present application provides a multi-split system, including:
the system comprises an external machine, a compressor drive, a plurality of internal machines and a plurality of line controllers;
the outer machine is provided with a controller as described in the second aspect.
Further, the controller is in driving connection with the compressor;
furthermore, each wire controller is connected with an internal machine, and the wire controller is used for displaying the electric quantity of the corresponding internal machine.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
the electric quantity data storage device comprises an optical coupling detection circuit, an input end of the optical coupling detection circuit is connected with a power supply, an output end of the optical coupling detection circuit is used for outputting a level signal, the level signal changes according to the output voltage change of the power supply, a control module is connected with the optical coupling detection circuit and is used for acquiring the output level signal of the optical coupling detection circuit, the storage module is connected with the control module and is used for storing the electric quantity data when the power failure event occurs, on the premise of not frequently erasing and writing the storage chip, whether a power failure event occurs or not is detected through a hardware circuit so as to realize timely storage of electric quantity data, the service life of the storage chip is prolonged, and the accuracy of the stored electric quantity data is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a functional structure diagram of an electrical quantity data storage device according to an embodiment of the present application.
Fig. 2 is a circuit diagram of an electrical data storage device according to an embodiment of the present application.
Fig. 3 is a flowchart of a power data storage method according to an embodiment of the present application.
Fig. 4 is a functional block diagram of a multi-split system according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail below. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a functional structure diagram of an electric quantity data storage device according to an embodiment of the present application, and as shown in fig. 1, the electric quantity data storage device includes:
the input end of the optical coupling detection circuit is connected with a power supply, the output end of the optical coupling detection circuit is used for outputting a level signal, and the level signal changes according to the output voltage change of the power supply;
the control module 12 is connected with the optocoupler detection circuit and used for acquiring an output level signal of the optocoupler detection circuit and judging whether a power failure event occurs according to the output level signal;
and the storage module 13 is connected with the control module and used for storing the electric quantity data when a power failure event occurs.
The traditional electric quantity data storage method needs to write electric quantity data into a chip with a storage function at regular time. But the erasing and writing of the memory chip are limited by the erasing and writing times of the memory chip, the erasing and writing cannot be performed without limit, and the service life of the memory chip is influenced by frequent erasing and writing operations; in addition, when the unit is powered off abnormally, the electric quantity data before the power failure is not written into the storage chip in time, so that the electric quantity data is inaccurate, for example, the electric quantity is stored for one time in T minutes at intervals. If the unit is abnormally powered down before the interval time, the electric quantity data in the interval time can be lost, and the stored electric quantity data is inaccurate.
In this embodiment, electric quantity data storage device includes opto-coupler detection circuitry, opto-coupler detection circuitry's input is connected with power supply, opto-coupler detection circuitry's output is used for output level signal, level signal changes according to power supply's output voltage, a control module, be connected with opto-coupler detection circuitry, an output level signal for acquireing opto-coupler detection circuitry, judge whether to take place the power failure incident according to output level signal, a storage module, be connected with a control module, be used for storing electric quantity data when taking place the power failure incident, under the prerequisite of unnecessary frequent memory chip that erases and writes, whether take place the power failure incident through hardware circuit detection in order to realize in time saving electric quantity data, extension memory chip life-span, improve the accuracy of saving electric quantity data.
An embodiment of the present application provides another electric quantity data storage device, as shown in a circuit diagram of fig. 2, the electric quantity data storage device includes:
the input end of the optical coupling detection circuit is connected with a power supply, and the output end of the optical coupling detection circuit is used for outputting a level signal which changes according to the output voltage change of the power supply;
an opto-coupler detection circuit comprising:
the first optical coupler chip U1 and the second optical coupler chip U2;
the input anode of the first optocoupler chip U1 is connected with the output end of the first diode D3, the input end of the first diode D3 is connected with a live wire L1 of a power supply, the input cathode of the first optocoupler chip U1 is connected with a zero line N of the power supply, the output end of the first optocoupler chip U1 is connected with a first output end MCU-A, when the first optocoupler chip is conducted U1, the first output end MCU-A outputs a low level, otherwise, the first output end MCU-A outputs a high level;
the input anode of the second optocoupler chip U2 is connected with the output end of the second diode D2, the input end of the second diode D2 is connected with a power supply zero line N, the input cathode of the second optocoupler chip U2 is connected with a power supply live wire L1, the output end of the second optocoupler chip U2 is connected with a second output end MCU-B, when the second optocoupler chip U2 is switched on, the second output end MCU-B outputs a low level, otherwise, the second output end MCU-B outputs a high level.
Further comprising:
the first current limiting resistor R7 and the first current limiting resistor R7 are arranged between the first optical coupler chip U1 and the first diode D3 and used for controlling the current input to the first optical coupler chip U1;
and the second current-limiting resistor R6 and the second current-limiting resistor R6 are arranged between the second optical coupler chip U2 and the second diode D2 and are used for controlling the current input to the second optical coupler chip U2.
The first pull-up resistor R4 is connected with the output end of the first optical coupler chip U1, and the first pull-up resistor R4 is connected with the output end of the first optical coupler chip U1;
and the second pull-up resistor R1 and the second pull-up resistor R1 are connected with the output end of the second optical coupler chip U2.
The pull-up resistor is used for clamping at a high level through the pull-up resistor when an uncertain signal exists at the output end of the first optical coupler chip U1 or the output end of the second optical coupler chip U2, and the pull-up resistor plays a role in current limiting at the same time.
And the optical coupling detection circuit is arranged between the power supply and the alternating current filtering module.
The alternating current filtering module is used for filtering input alternating current, filtering harmonic waves of the alternating current and ensuring that the input current is free of noise.
And the rectifying and filtering module is arranged between the alternating current filtering module and the load.
The rectification filtering module comprises:
the rectifier bridge DB1 and the filter capacitor C4, the filter capacitor C4 is connected in parallel at the output end of the rectifier bridge DB 1.
The rectification filter module is used for rectifying and filtering the input alternating current to ensure the stability of the input voltage of the load.
And the negative temperature coefficient thermistor R5 and the negative temperature coefficient thermistor R5 are arranged between the alternating current filter module and the rectifier filter module and are used for inhibiting surge current.
The control module is connected with the optocoupler detection circuit and used for acquiring an output level signal of the optocoupler detection circuit and judging whether a power failure event occurs or not according to the output level signal;
and the storage module is connected with the control module and used for storing the electric quantity data when a power failure event occurs.
In some embodiments, the control module and the storage module are collectively disposed in a single controller.
In the embodiment, the optical coupling detection circuit is added on hardware, electric quantity data are stored in time before the power failure of the main chip, and the operation of writing the electric quantity data once is executed before the power failure of the unit, so that the accuracy of the stored electric quantity data is ensured.
An embodiment of the present application provides an electric quantity data storage method, as shown in a flowchart in fig. 3, the electric quantity data storage method includes:
s31: detecting a level signal at the output end of an optical coupling detection circuit connected with a power supply;
s32: judging whether a power failure event occurs according to a level signal at the output end of the optical coupler detection circuit;
in some embodiments, the determining whether a power down event occurs according to a level signal at an output end of the optical coupling detection circuit includes:
if the output level of the output end of the first optical coupler chip is opposite to the output level of the output end of the second optical coupler chip, and the output level of the output end of the first optical coupler chip is turned over once within a first preset time, judging that the power supply is normal;
if the output level of the output end of the first optical coupling chip and the output level of the output end of the second optical coupling chip are both high levels when the second preset duration is continuous, a power failure event is considered to occur;
and if the output level of the output end of the first optical coupler chip and the output level of the output end of the second optical coupler chip are detected to be low levels or the output level of the output end of the first optical coupler chip and the output level of the output end of the second optical coupler chip are not turned over all the time in a third preset time, judging that the optical coupler detection circuit is abnormal.
S33: and storing the electric quantity data when a power failure event occurs.
In some embodiments, further comprising:
setting a detection period, and detecting a level signal at the output end of an optical coupling detection circuit connected with a power supply according to the detection period;
detection period T ═ T1+T2) 10, the detection period T is in seconds, wherein T1Outputting high level duration for a first optical coupler chip in an optical coupler detection circuit; t is2And outputting the low level duration for a first optical coupler chip in the optical coupler detection circuit.
For example, the effective value of the power supply is U0V, frequency fhz: when the power supply normally works and the U1 is switched on, the MCU-A detects the low level, the U2 is switched off at the same time, and the MCU-B detects the high level; when U2 is turned on, MCU-B detects low, U1 is turned off, and MCU-A detects high. The levels of the MCU-A and the MCU-B end are periodically changed by taking 1/fs as a period, (T)1+T2=1/f),T1High level duration, T, for MCU-A or MCU-B output2And the low level time length is output by the MCU-A or the MCU-B. When the power is turned off, both a and B become high.
The turn-on voltage of the optocoupler chips U1 and U2 is set to be V0In the figure T2-T1=2t1.
Then V0=U0*sin(wt1),
wt1=arcsin(V0/U0) Where w is 2 pi f.
Because the starting voltage V of the optical coupling chip0Is smaller, therefore t1Smaller, the sampling period T ═ T (T)1+T2) The/10 s is far greater than t1Thus, t1The duration is negligible when setting the detection period, and the detection period is set to T ═ T (T)1+T2) The/10 s can ensure the timeliness of detection.
The first preset time period is set to 10ts, for example, the second preset time period is set to 3ts, for example, and the third preset time period is set to 20ts, for example, according to the detection cycle.
In some embodiments, further comprising:
and sending prompt information when the optical coupling detection circuit is abnormal, wherein the prompt information comprises a push notice and early warning abnormity of electric quantity of a display page.
In this embodiment, through detecting the level signal of the opto-coupler detection circuit output end that is connected with power supply, judge whether to take place the power failure incident according to the level signal of opto-coupler detection circuit output end, save electric quantity data when taking place the power failure incident, prolong storage chip life-span, improve the accuracy of storage electric quantity data.
An embodiment of the present application provides a controller, including:
the electric quantity data storage device according to the above embodiment.
The embodiment of the application provides a multi-split system, includes:
the system comprises an external machine, a compressor drive, a plurality of internal machines and a plurality of line controllers;
the controller is arranged in the outer machine;
the controller is in driving connection with the compressor;
each wire controller is connected with an internal machine and is used for displaying the electric quantity of the corresponding internal machine.
As shown in fig. 4, since the consumed power of the air conditioner is the sum of the total power of the internal unit and the external unit, the total power P of the internal unit is collected and calculated by the internal unit of the air conditionerInner partAnd the power of the compressor and the driving plate is collected and calculated by the compressor and is sent to an external machine controller by a communication network 2, and the total power P of the external machine is collected and calculated by the external machine controller of the air conditionerOuter coverTherefore, the outer unit can obtain the power of each inner unit and the total power of the outer unit. Therefore, the power consumption of each device is stored in the external machine controller in a mode that the external machine controller calculates the power consumption of each device, and the storage of the power data can be realized.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
It should be noted that the present invention is not limited to the above-mentioned preferred embodiments, and those skilled in the art can derive other products in various forms without departing from the scope of the present invention, but any changes in shape or structure can be made within the scope of the present invention with the same or similar technical solutions as the present invention.

Claims (12)

1. An electrical quantity data storage device, comprising:
the input end of the optical coupling detection circuit is connected with a power supply, and the output end of the optical coupling detection circuit is used for outputting a level signal which changes according to the output voltage change of the power supply;
the control module is connected with the optocoupler detection circuit and used for acquiring an output level signal of the optocoupler detection circuit and judging whether a power failure event occurs or not according to the output level signal;
and the storage module is connected with the control module and used for storing the electric quantity data when a power failure event occurs.
2. The electrical quantity data storage device of claim 1, wherein the optocoupler detection circuit comprises:
the optical coupler comprises a first optical coupler chip and a second optical coupler chip;
the input anode of the first optical coupling chip is connected with the output end of the first diode, the input end of the first diode is connected with a live wire of a power supply, the input cathode of the first optical coupling chip is connected with a zero wire of the power supply, the output end of the first optical coupling chip is connected with a first output end, when the first optical coupling chip is conducted, the first output end outputs a low level, otherwise, the first output end outputs a high level;
the second diode, the input positive pole of second opto-coupler chip with the output of second diode is connected, the input and the power supply zero line of second diode are connected, the input negative pole and the power supply live wire of second opto-coupler chip are connected, the second output is connected to the output of second opto-coupler chip when second opto-coupler chip switches on, the low level of second output, otherwise the high level of second output.
3. The electrical quantity data storage device of claim 2, further comprising:
the first current limiting resistor is arranged between the first optical coupler chip and the first diode;
and the second current-limiting resistor is arranged between the second optical coupler chip and the second diode.
4. The electrical quantity data storage device of claim 2, further comprising:
the first pull-up resistor is connected with the output end of the first optocoupler chip;
and the second pull-up resistor is connected with the output end of the second optical coupler chip.
5. The electrical quantity data storage device of claim 1, further comprising:
and the optical coupling detection circuit is arranged between a power supply and the alternating current filtering module.
6. The electrical quantity data storage device of claim 5, further comprising:
and the rectifying and filtering module is arranged between the alternating current filtering module and the load.
7. The electrical quantity data storage device of claim 6, wherein the rectifying and filtering module comprises:
the filter capacitor is connected in parallel with the output end of the rectifier bridge.
8. The electrical quantity data storage device of claim 6, further comprising:
and the negative temperature coefficient thermistor is arranged between the alternating current filter module and the rectification filter module and is used for inhibiting surge current.
9. A controller, comprising: an electrical charge data storage device as claimed in any one of claims 1 to 8.
10. A multiple on-line system, comprising:
the system comprises an external machine, a compressor drive, a plurality of internal machines and a plurality of line controllers;
the outdoor unit is provided with the controller according to claim 9.
11. The multi-split system as claimed in claim 10,
the controller is in driving connection with the compressor.
12. The multi-split system as claimed in claim 10,
each wire controller is connected with an internal machine and is used for displaying the electric quantity of the corresponding internal machine.
CN202121541286.6U 2021-07-07 2021-07-07 Electric quantity data storage device, controller and multi-online system Active CN216481510U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202121541286.6U CN216481510U (en) 2021-07-07 2021-07-07 Electric quantity data storage device, controller and multi-online system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202121541286.6U CN216481510U (en) 2021-07-07 2021-07-07 Electric quantity data storage device, controller and multi-online system

Publications (1)

Publication Number Publication Date
CN216481510U true CN216481510U (en) 2022-05-10

Family

ID=81393721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202121541286.6U Active CN216481510U (en) 2021-07-07 2021-07-07 Electric quantity data storage device, controller and multi-online system

Country Status (1)

Country Link
CN (1) CN216481510U (en)

Similar Documents

Publication Publication Date Title
US8072197B2 (en) Power-managed socket
US8159185B2 (en) Battery charger and control method therefor
US6181103B1 (en) Advanced intelligent computer power management system
CN102290854B (en) Method and device for performing state control on redundant power module
JPH0612150A (en) Computer system
JP2002315194A (en) Power conditioner for solar light generation system
CN106877442B (en) Battery management method
WO2019218882A1 (en) Super-capacitor application circuit of replaceable battery type smart electric energy meter power supply
US20130297086A1 (en) Power-saving controlling method and system thereof
CN110823277B (en) Equipment anti-dismounting device and equipment with anti-dismounting function
CN104122508A (en) Online monitoring method for backup power supply system of intelligent power distribution terminal
CN106199098B (en) Low-power consumption under ammeter power-down state when the full decompression exception of power grid detects control method
CN211627772U (en) Small-size aluminium air battery monitored control system
CN216481510U (en) Electric quantity data storage device, controller and multi-online system
TWI470381B (en) Power time measurement circuit and power supply device
CN104201754A (en) Mains supply smart charger for storage battery of diesel generating set and control method thereof
WO2024027834A1 (en) Power source management system and management method for self-powered water meter
CN113606762A (en) Electric quantity data storage device, method, controller and multi-online system
JP3553004B2 (en) Control system and refrigerator using the same
CN205039618U (en) Join in marriage and become monitor terminal
CN211346929U (en) Automatic flow compensation water meter
CN114778914A (en) Intelligent electric meter acquisition system
CN109188040B (en) Multi-mode intelligent ammeter
CN211318588U (en) Intelligent electric energy meter with low-frequency load shedding function
CN100423401C (en) Intelligent UPS with logic judging function

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant