CN111711263B - Monitor power supply switching system - Google Patents

Monitor power supply switching system Download PDF

Info

Publication number
CN111711263B
CN111711263B CN202010604254.XA CN202010604254A CN111711263B CN 111711263 B CN111711263 B CN 111711263B CN 202010604254 A CN202010604254 A CN 202010604254A CN 111711263 B CN111711263 B CN 111711263B
Authority
CN
China
Prior art keywords
switching
monitor
voltage
instruction
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.)
Active
Application number
CN202010604254.XA
Other languages
Chinese (zh)
Other versions
CN111711263A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202010604254.XA priority Critical patent/CN111711263B/en
Publication of CN111711263A publication Critical patent/CN111711263A/en
Application granted granted Critical
Publication of CN111711263B publication Critical patent/CN111711263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • H02J9/061Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems for DC powered loads
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • H02J9/068Electronic means for switching from one power supply to another power supply, e.g. to avoid parallel connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

The invention relates to a monitor power supply switching system, comprising: a direct current power supply line for supplying power to the monitor; the commercial power is connected with a direct current power supply line through an AC/DC and a switching contactor K1; the storage battery is connected with a direct current power supply circuit through a triode Q1 for switching; the switching controller is connected with a transformer and is used for sampling the voltage of the input end of the mains supply; the switching controller samples the voltage of the mains supply input end, judges the voltage change slope of a plurality of sampling points falling into the window voltage range, if the voltage change slope exceeds a set slope threshold, judges that the power is suddenly turned off, and executes switching action; otherwise, the voltage is judged to be unstable, the switching controller sends a frequency-reducing instruction to the monitor, and the monitor works in a frequency-reducing mode after receiving the instruction. The invention can avoid frequent switching, and simultaneously organically combines with the working mode of the monitor to ensure the user experience.

Description

Monitor power supply switching system
Technical Field
The present invention relates to a power switching system for a monitor.
Background
The monitor generally comprises a camera, a wifi module, a motor and the like, wherein the camera is used for shooting, the motor is used for driving the camera to rotate, and the wifi module is used for communicating with an external network.
The monitor of the prior art can be used for remote monitoring of a specific location. For example, a parent can log in on the mobile phone APP to acquire a monitoring video picture of a monitor in the family, and through operating on the APP, the parent can also control the camera to perform a rotating action so as to capture a picture of a region of interest.
In some applications, it is necessary to ensure that the monitor remains online all the time, and this requires a spare battery to be provided, which can be switched to battery power in time when there is a problem with mains input. An example is given in fig. 1, which includes two power sources, a mains supply and a battery, the mains supply being connected to a DC supply line via AC/DC, the battery being connected to the DC supply line; the switching controller (adopting a singlechip) collects the state of the mains supply through the transformer, and when the mains supply is powered down or unstable in voltage, the contactor K1 can be opened, and the triode Q1 is controlled to be conducted, so that the storage battery can supply power to the monitor. Wherein D2 is used to prevent directional current from flowing to AC/DC; d1 is used to ensure that the mains can charge the battery.
The switching strategy in the prior art has the following problems: first, switching is often a problem in some cases, resulting in adverse effects on circuit life; second, only the switching of the power supply is considered, and the application requirement of the monitor is not considered, thereby adversely affecting the monitoring effect.
Disclosure of Invention
The invention aims to provide a monitor power supply switching system.
The scheme of the invention comprises the following steps: a monitor power switching system, comprising:
a direct current power supply line for supplying power to the monitor;
the commercial power is connected with a direct current power supply line through an AC/DC and a switching contactor K1;
the storage battery is connected with a direct current power supply circuit through a triode Q1 for switching;
the switching controller is connected with a transformer and is used for sampling the voltage of the input end of the mains supply;
when the switching controller executes the switching action, the contactor K1 is controlled to be opened, the triode Q1 is conducted, and the power supply is switched to the storage battery; the monitor comprises an MCU, a motor and a wifi module; a communication line is arranged between the switching controller and the mcu of the monitor;
the switching controller samples the voltage of the mains supply input end, judges the voltage change slope of a plurality of sampling points falling into the window voltage range, if the voltage change slope exceeds a set slope threshold, judges that the power is suddenly turned off, and executes switching action; otherwise, the voltage is judged to be unstable, the switching controller sends a frequency-reducing instruction to the monitor, and the monitor works in a frequency-reducing mode after receiving the instruction.
Further, the upper limit voltage of the window voltage range is V1, the lower limit voltage is V2, V1 is used for avoiding erroneous judgment on normal voltage fluctuation, and V2 is used for guaranteeing judgment sensitivity.
Further, when the voltage is not stable, the judgment is stopped, and the judgment is performed after a delay for a preset period of time.
Further, when the server receives a corresponding operation request of a user, a notification is sent to the monitor, the mcu of the monitor sends a forced switching instruction to the switching controller, after receiving the forced switching instruction, the switching controller executes a switching action, meanwhile, an up-conversion instruction is returned to the mcu, and the mcu immediately changes the operation into normal power consumption operation with normal frequency after receiving the up-conversion instruction.
Further, after receiving the image data stream, the server analyzes the image data stream, analyzes the field synchronizing signal in each frame of image, and calculates the frame rate according to the time interval between the field synchronizing signals between adjacent frames; if the frame rate exceeds the set frame rate range and the network quality is good, the server sends a signal to the mcu of the monitor, the mcu sends a forced switching instruction to the switching controller according to the signal, and the switching controller executes switching action after receiving the instruction.
The invention can avoid frequent switching, and simultaneously organically combines with the working mode of the monitor to ensure the user experience.
Drawings
FIG. 1 is a schematic diagram of a prior art monitor power switching circuit;
FIG. 2 is a schematic diagram of a monitor power switching circuit of the present invention;
FIG. 3 is a schematic diagram of a monitor structure of the present invention;
FIG. 4 is a schematic diagram of a sudden power down voltage change;
FIG. 5 is a schematic diagram of a voltage instability voltage variation;
fig. 6 is a flow chart of the basic method of the present invention.
Detailed Description
The following description refers to the accompanying drawings.
As shown in fig. 2 and 3, the monitor power switching system includes:
a direct current power supply line for supplying power to the monitor;
the commercial power is connected with a direct current power supply line through an AC/DC and a switching contactor K1;
the storage battery is connected with a direct current power supply circuit through a triode Q1 for switching;
the switching controller is connected with a transformer and is used for sampling the voltage of the input end of the mains supply;
when the switching controller executes the switching action, the contactor K1 is controlled to be opened, the triode Q1 is conducted, and the power supply is switched to the storage battery.
The switching controller (adopting a singlechip) is connected with the mains supply input end through a mutual inductor; in order to ensure that the switching controller can execute related work even when the mains supply is abnormal, the switching controller also takes power through the storage battery (for example, a power end of the switching controller is not only connected with a direct current power supply line, but also connected with the storage battery, and of course, a corresponding voltage stabilizing chip is selected according to the requirement of the power supply voltage of the switching controller).
The monitor comprises an MCU, a motor and a wifi module (a base, a shell and the like, which are not related to the invention and are not repeated); the wifi module can be connected to the cellular wireless network through a route, the monitor can transmit video data streams to the server, and the user can access the server through the mobile phone APP, so that the video data streams of the monitor are obtained, and the control right of the monitor is obtained.
The hardware of the whole monitor power switching system is not very different from the prior art, and the main difference is that a communication line is added between the switching controller and the mcu of the monitor. The communication line CAN adopt serial communication buses such as RS232, CAN buses, IIC buses and the like, and even CAN adopt directly connected IO port lines (at least comprises two IO port lines, one is used for sending signals to the monitor by the switching controller, and the other is used for sending signals to the switching controller by the monitor).
The main improvement of the monitor power switching system of the present invention is related method strategy based on the above hardware modification, which is specifically described below.
In order to avoid frequent switching, the sudden power failure and unstable voltage of the mains supply need to be identified, when the power failure happens, the power supply is switched to a storage battery, when the voltage is unstable, the power supply is not switched, but a frequency-reducing instruction is sent to the mcu of the monitor, after the mcu receives the frequency-reducing instruction, the frequency-reducing operation of the mcu is controlled, the power consumption is reduced (the current main current mcu has the frequency-reducing operation function and the contents such as the specific principle of the current main current mcu are not repeated), so that fault ride-through is carried out, and the damage to circuit devices caused by frequent switching is avoided. After the voltage is stable, the switching controller sends an up-conversion instruction to the mcu of the monitor, and the mcu works normally after receiving the up-conversion instruction.
Specifically, the sampled mains voltage signal needs to be judged, so that whether the sampled mains voltage signal belongs to sudden power failure or is unstable in voltage is judged. As in fig. 4, fig. 5 shows voltage waveforms for a sudden power loss and voltage instability, respectively. Wherein, a plurality of sampling points fall into window voltage range, and the upper limit voltage of this window is V1, and lower limit voltage is V2, can avoid the erroneous judgement to normal voltage fluctuation through setting up V1, can guarantee the sensitivity of judgement through setting up V2, can accomplish the judgement at the voltage does not drop to low excessively.
By judging the slope (hereinafter referred to as slope) of the voltage change at consecutive sampling points (set according to the sampling frequency) falling within the window voltage range, it can be judged whether the voltage falls suddenly or is unstable. As in fig. 4, 5, the horizontal axis is time and the vertical axis is voltage; the power is suddenly lost, the slope is larger, the voltage is unstable, and the slope is smaller. The judgment can be realized by setting a slope threshold value.
In order to avoid continuous judgment of the switching controller when the voltage fluctuates, the invention stops judgment when the voltage is unstable, and then judges after delaying for a preset period of time. The whole method flow is shown in fig. 6.
Because a period of time is delayed, if in the down-conversion operation process, if the user needs to operate the monitor, such as rotating the camera, the down-conversion operation is likely to result in poor video quality, so in this case, when the server receives a corresponding operation request of the user, a notification is sent to the monitor, the mcu of the monitor sends a forced switching instruction to the switching controller, after receiving the forced switching instruction, the switching controller executes a switching action, and meanwhile returns an up-conversion instruction to the mcu, and the mcu immediately changes to normal-frequency normal-power-consumption operation after receiving the up-conversion instruction.
In addition, the downscaling operation may result in poor image quality, and thus, limitation is also necessary, in particular: the monitor image data stream adopts a BT861 frame format, the server analyzes the image data stream after receiving the image data stream, the server analyzes the image data stream by adopting a corresponding protocol to judge the frame rate, namely, analyzes the field synchronizing signal in each frame of image (each frame is provided with one field synchronizing signal), and calculates the frame rate, namely, the frame number per second according to the time interval between the field synchronizing signals between adjacent frames. If the frame rate is determined to be out of the set frame rate range, for example, the set frame rate range is 50±3, if the frame rate is out of the set frame rate range, then the network condition is determined (for example, the network condition is determined by the packet loss rate), if the network quality is good (for example, the packet loss rate does not exceed the threshold value), the server sends a signal to the mcu of the monitor, the mcu sends a forced switching instruction to the switching controller according to the signal, and the switching controller receives the instruction and then performs the switching operation.

Claims (3)

1. A monitor power switching system, comprising:
a direct current power supply line for supplying power to the monitor;
the commercial power is connected with a direct current power supply line through an AC/DC and a switching contactor K1;
the storage battery is connected with a direct current power supply circuit through a triode Q1 for switching;
the switching controller is connected with a transformer and is used for sampling the voltage of the input end of the mains supply;
when the switching controller executes the switching action, the contactor K1 is controlled to be opened, the triode Q1 is conducted, and the power supply is switched to the storage battery; the monitor comprises an MCU, a motor and a wifi module; a communication line is arranged between the switching controller and the mcu of the monitor;
the switching controller samples the voltage of the mains supply input end, judges the voltage change slope of a plurality of sampling points falling into the window voltage range, if the voltage change slope exceeds a set slope threshold, judges that the power is suddenly turned off, and executes switching action; otherwise, judging that the voltage is unstable, sending a frequency-reducing instruction to the monitor by the switching controller, and performing frequency-reducing operation after the monitor receives the instruction;
the upper limit voltage of the window voltage range is V1, the lower limit voltage is V2, V1 is used for avoiding misjudgment on normal voltage fluctuation, and V2 is used for ensuring judgment sensitivity;
when the server receives a corresponding operation request of a user, the server sends a notification to the monitor, the mcu of the monitor sends a forced switching instruction to the switching controller, the switching controller executes a switching action after receiving the forced switching instruction, meanwhile, an up-conversion instruction is returned to the mcu, and the mcu immediately changes the operation into normal power consumption operation with normal frequency after receiving the up-conversion instruction.
2. The monitor power switching system according to claim 1, wherein the determination is stopped when the voltage is determined to be unstable, and the determination is performed after a predetermined time period has elapsed.
3. The monitor power switching system according to claim 1, wherein the server, after receiving the image data stream, parses the image data stream to parse out the field sync signal in each frame of the image, and calculates the frame rate based on the time interval between the field sync signals between adjacent frames; if the frame rate exceeds the set frame rate range and the network quality is good, the server sends a signal to the mcu of the monitor, the mcu sends a forced switching instruction to the switching controller according to the signal, and the switching controller executes switching action after receiving the instruction.
CN202010604254.XA 2020-06-29 2020-06-29 Monitor power supply switching system Active CN111711263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010604254.XA CN111711263B (en) 2020-06-29 2020-06-29 Monitor power supply switching system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010604254.XA CN111711263B (en) 2020-06-29 2020-06-29 Monitor power supply switching system

Publications (2)

Publication Number Publication Date
CN111711263A CN111711263A (en) 2020-09-25
CN111711263B true CN111711263B (en) 2024-02-09

Family

ID=72543319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010604254.XA Active CN111711263B (en) 2020-06-29 2020-06-29 Monitor power supply switching system

Country Status (1)

Country Link
CN (1) CN111711263B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116055955B (en) * 2023-01-10 2023-10-27 富满微电子集团股份有限公司 Silencing circuit and chip

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055955A (en) * 2009-11-09 2011-05-11 慧友电子股份有限公司 Monitoring device
CN206401981U (en) * 2016-12-13 2017-08-11 合肥英威晟光电科技有限公司 A kind of distributed heat imager electric power system
CN108508380A (en) * 2018-04-23 2018-09-07 深圳市高斯宝电气技术有限公司 A kind of rapid detection method of AC voltages power down
CN110762736A (en) * 2019-11-04 2020-02-07 宁波奥克斯电气股份有限公司 Control method and system, variable frequency air conditioner and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8599589B2 (en) * 2008-10-13 2013-12-03 Apple Inc. Methods and systems for reducing power consumption

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055955A (en) * 2009-11-09 2011-05-11 慧友电子股份有限公司 Monitoring device
CN206401981U (en) * 2016-12-13 2017-08-11 合肥英威晟光电科技有限公司 A kind of distributed heat imager electric power system
CN108508380A (en) * 2018-04-23 2018-09-07 深圳市高斯宝电气技术有限公司 A kind of rapid detection method of AC voltages power down
CN110762736A (en) * 2019-11-04 2020-02-07 宁波奥克斯电气股份有限公司 Control method and system, variable frequency air conditioner and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一起智能电表频繁掉电重启事故的原因分析;陈克绪等;《江西电力》(第2期);第51-54页 *

Also Published As

Publication number Publication date
CN111711263A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
US10136060B2 (en) IP camera control method, apparatus, and system
CN109890069B (en) Network connection method, terminal, base station, and computer storage medium
CN111711263B (en) Monitor power supply switching system
EP2798838A1 (en) Communication terminal device, communication system, communication state display method, and computer-readable recording medium
CN105873157A (en) Automatic network switching method and device, and mobile terminal
CN103686854A (en) Method and device for controlling AP
WO2014205913A1 (en) Electricity saving method for terminal device, and terminal device
US20120003927A1 (en) Communication Apparatus, Program and Communication Method
CN109151395B (en) Wireless video monitoring method and system based on wireless gateway
CN103533588A (en) Method for switching current operation application in sub machine to host machine for operation, and mobile terminal for method
CN210608666U (en) Control device of redundant power supply and power supply system
US20150381414A1 (en) Method and gateway for automatically controlling relays and wireless sensor network
CN116600359A (en) Data transmission method, device, system and readable storage medium
US7885621B2 (en) Receiver and electronic apparatus using the same
CN103313355A (en) Portable routing device and energy-saving method thereof
WO2021103893A1 (en) Wireless fidelity (wifi) chip control method and related device thereof
CN101697519A (en) Method and device for port mirroring
US20230164430A1 (en) Camera Control Method and System, and Electronic Device
CN209659455U (en) TV signal conversion equipment and display system
JP6051658B2 (en) Wireless communication apparatus, wireless communication method and program
KR20140064407A (en) Apparatus and method for controlling self power consumption
CN110571880B (en) Power supply monitoring method and system of monitoring system
CN112383543A (en) Power equipment monitoring data processing system
CN105337403A (en) Network GNSS receiver power source system and control method thereof
CN216710664U (en) Scraper machine state detection circuit board and detection device

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