CN108093193B - Video format switching method and device - Google Patents

Video format switching method and device Download PDF

Info

Publication number
CN108093193B
CN108093193B CN201711464978.3A CN201711464978A CN108093193B CN 108093193 B CN108093193 B CN 108093193B CN 201711464978 A CN201711464978 A CN 201711464978A CN 108093193 B CN108093193 B CN 108093193B
Authority
CN
China
Prior art keywords
signal
pulse signal
resistor
determining
frequency
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
CN201711464978.3A
Other languages
Chinese (zh)
Other versions
CN108093193A (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201711464978.3A priority Critical patent/CN108093193B/en
Publication of CN108093193A publication Critical patent/CN108093193A/en
Application granted granted Critical
Publication of CN108093193B publication Critical patent/CN108093193B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Optical Communication System (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a video format switching method and a device, the method converts a received optical signal sent by an illuminating electrical appliance into an electrical signal, determines a detection signal according to the electrical signal, determines a synchronous pulse signal according to a preset reference signal and the detection signal, and then calculates the frequency of the synchronous pulse signal, and because the frequency of the synchronous pulse signal has a corresponding relation with a video format, the video format switching can be carried out according to the frequency of the synchronous pulse signal, thereby avoiding the problem that the video playing quality is influenced because a user selects a video format error.

Description

Video format switching method and device
Technical Field
The invention relates to the technical field of video processing, in particular to a video format switching method and device.
Background
In the field of video monitoring, standard definition analog video usually has two systems, namely Phase Alternation Line (PAL) and National Television Standard Committee (NTSC), which are incompatible with each other, and if an NTSC System is selected or selected on an electronic device to play the video of the PAL System, the picture will become black and white. Therefore, when the electronic device plays the video, the system selected by the electronic device needs to be the same as the system of the video to be played.
General electronic equipment can support the playing of videos of two systems, namely PAL and NTSC, but when the user uses the electronic equipment, the user needs to know the relevant knowledge of the video system, so that the user can select the video system on the electronic equipment, namely, the user needs to configure the video system by himself, and the self-adaption can not be achieved, thus causing the inconvenience of the user, and if the user selects the video system by mistake, the playing quality of the video can be influenced.
Therefore, it is an urgent problem to provide a solution capable of implementing adaptive switching of video formats.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for switching video formats, so as to solve the problem that the video playing quality is affected due to an error in selecting a video format by a user.
Therefore, a method for switching video formats provided in an embodiment of the present invention includes:
receiving an optical signal sent by a lighting electrical appliance, and converting the optical signal into an electrical signal;
determining a detection signal from the electrical signal;
determining a synchronous pulse signal according to a preset reference signal and the detection signal;
calculating the frequency of the synchronization pulse signal;
and switching the video modes according to the frequency of the synchronous pulse signal.
Preferably, in an implementation manner, in the method according to an embodiment of the present invention, the determining a detection signal according to the electrical signal includes:
and carrying out direct current bias removal and amplification processing on the electric signal to determine the detection signal.
Preferably, in an embodiment of the present invention, in the method, the determining a synchronization pulse signal according to a preset reference signal and the detection signal includes:
comparing the detection voltage corresponding to the detection signal with a preset reference voltage corresponding to the preset reference signal, outputting a high-level pulse signal when the detection voltage is smaller than the preset reference voltage, outputting a low-level pulse signal when the detection voltage is greater than or equal to the preset reference voltage, and determining the synchronous pulse signal according to the output high-level pulse signal and the output low-level pulse signal.
Correspondingly, an embodiment of the present invention further provides a video format switching apparatus, where the apparatus includes:
the photoelectric conversion module is used for receiving optical signals sent by the lighting electrical appliance and converting the optical signals into electrical signals;
a first determination module for determining a detection signal from the electrical signal;
the second determining module is used for determining a synchronous pulse signal according to a preset reference signal and the detection signal;
the calculating module is used for calculating the frequency of the synchronous pulse signal;
and the switching module is used for switching the video modes according to the frequency of the synchronous pulse signal.
Preferably, in a specific implementation manner, in the apparatus provided in an embodiment of the present invention, the photoelectric conversion module includes: a photo transistor; and the collector of the phototriode is connected with a first power supply end, the emitter of the phototriode is connected with the first determination module, and the base of the phototriode is used for receiving the optical signal.
Preferably, in an implementation manner, in the apparatus provided in the embodiment of the present invention, the first determining module is specifically configured to perform dc offset removal and amplification processing on the electrical signal, so as to determine the detection signal.
Preferably, in an embodiment of the present invention, in practical implementation, the apparatus further includes: the circuit comprises a first resistor, a first amplifier, a first capacitor, a second resistor, a third resistor, a fourth resistor and a second amplifier; wherein the content of the first and second substances,
the positive phase input end of the first amplifier is connected with the photoelectric conversion module and used for receiving the electric signal, and the output end of the first amplifier is respectively connected with the negative phase input end of the first amplifier and the first end of the first capacitor;
the first end of the first resistor is connected with the non-inverting input end of the first amplifier, and the second end of the first resistor is grounded;
the second end of the first capacitor is connected with the first end of the second resistor;
the second end of the second resistor is connected with the first end of the third resistor and the negative phase input end of the second amplifier, the positive phase input end of the second amplifier is connected with the first end of the fourth resistor, the second end of the fourth resistor is grounded, and the output end of the second amplifier is connected with the second end of the third resistor and the second determining module respectively and used for outputting the detection signal.
Preferably, in a specific implementation, in the apparatus provided in an embodiment of the present invention, the second determining module is specifically configured to compare a detection voltage corresponding to the detection signal with a preset reference voltage corresponding to the preset reference signal, output a high-level pulse signal when the detection voltage is less than the preset reference voltage, output a low-level pulse signal when the detection voltage is greater than or equal to the preset reference voltage, and determine the synchronization pulse signal according to the output high-level pulse signal and the output low-level pulse signal.
Preferably, in an embodiment of the present invention, in practical implementation, the apparatus further includes: a comparator, a fifth resistor and a sixth resistor; wherein the content of the first and second substances,
the negative phase input end of the comparator is connected with the output end of the first determining module and used for receiving the detection signal, the positive phase input end of the comparator is respectively connected with the first end of the fifth resistor and the first end of the sixth resistor, the second end of the fifth resistor is connected with the second power supply end, the second end of the sixth resistor is grounded, and the output end of the comparator is connected with the calculating module and used for outputting the synchronous pulse signal.
Preferably, in a specific implementation, in the apparatus provided in the embodiment of the present invention, the calculating module includes a counter; the input end of the counter is used for receiving the synchronous pulse signal, and the output end of the counter is connected with the switching module and used for outputting the frequency of the synchronous pulse signal.
Preferably, in a specific implementation, in the apparatus provided in the embodiment of the present invention, the switching module includes a processor; and the input end of the processor is connected with the output end of the counter and is used for receiving the frequency of the synchronous pulse signal to carry out video format switching.
The invention discloses a video format switching method and a device, the method converts a received optical signal sent by an illuminating electrical appliance into an electrical signal, determines a detection signal according to the electrical signal, determines a synchronous pulse signal according to a preset reference signal and the detection signal, and then calculates the frequency of the synchronous pulse signal, and because the frequency of the synchronous pulse signal has a corresponding relation with a video format, the video format switching can be carried out according to the frequency of the synchronous pulse signal, thereby avoiding the problem that the video playing quality is influenced because a user selects a video format error.
Drawings
In order to more clearly illustrate the technical solutions in 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.
Fig. 1 is a schematic flowchart of a video format switching method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a video format switching apparatus according to an embodiment of the present invention;
fig. 3 is a second schematic structural diagram of a video format switching apparatus according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the attached drawings, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a method for switching video formats according to an embodiment of the present invention includes:
s101, receiving an optical signal sent by a lighting electrical appliance, and converting the optical signal into an electrical signal;
the lighting apparatus is a device that converts electric energy into light. Current lighting appliances are classified into incandescent lamps (lamps that emit light by incandescent of a tungsten filament by passing a current therethrough), gas discharge lamps (lamps that generate light by forming a gas discharge by passing a current through electrodes at both ends of the lamp), and light emitting diode lamps according to the principle of light emission. The lighting device in the invention mainly refers to an incandescent lamp.
The video format switching method provided by the embodiment of the invention is applied to electronic equipment, and the electronic equipment comprises equipment such as a PC (personal computer), an intelligent television, a mobile phone and the like.
The invention discloses a photoelectric conversion device phototriode, which is characterized in that when the phototriode is illuminated on a P-N junction of the phototriode in an environment with illumination of an illuminating electrical appliance, the phototriode can induce periodic light change, a base electrode of the phototriode absorbs light energy and converts the light energy into electric energy, the periodic light change is modulated into an alternating current signal, and the phototriode converts a received light signal into an electric signal.
S102, determining a detection signal according to the electric signal;
because other direct current signal light sources such as lamp light driven by a DC power supply or weak sunlight exist around the environment illuminated by the lighting electrical appliance, the signal reflected by the electrical signal (alternating current signal) is an alternating current signal containing a direct current signal, namely a noise signal, the noise signal can be filtered by removing the direct current signal and amplifying the signal, so that a synchronous pulse signal with accurate frequency can be obtained, and the accuracy of video system adjustment is improved.
S103, determining a synchronous pulse signal according to a preset reference signal and a detection signal;
according to the invention, the detection voltage corresponding to the detection signal is compared with the preset reference voltage corresponding to the preset reference signal, when the detection voltage is smaller than the preset reference voltage, a high-level pulse signal is output, when the detection voltage is larger than or equal to the preset reference voltage, a low-level pulse signal is output, and the synchronous pulse signal is determined according to the output high-level pulse signal and the output low-level pulse signal.
S104, calculating the frequency of the synchronous pulse signal;
the invention receives the synchronous pulse signal through a counter and calculates the frequency of the synchronous pulse signal, for example, the counter calculates the frequency of the synchronous pulse signal according to the number of pulses generated in unit time (such as 1 second).
And S105, switching the video modes according to the frequency of the synchronous pulse signal.
Firstly, determining a target video system according to the frequency of a determined synchronous pulse signal and the corresponding relation between the pre-stored frequency and the video system; and then switching the video system supported by the video system into the target video system according to the determined target video system. For example, the correspondence between the frequency of the synchronization pulse signal pre-stored in the electronic device and the video system is that the frequency of the synchronization pulse signal is 50Hz, and the corresponding video system is the PAL system; the frequency of the synchronous pulse signal is 60Hz, and the corresponding video system is NTSC system. If the frequency of the obtained synchronous pulse signal is 50Hz, determining that the target video system is the PAL system according to the corresponding relation between the frequency of the synchronous pulse signal and the video system which is stored in advance; and if the frequency of the acquired synchronous pulse signal is 60Hz, determining that the target video system is the NTSC system according to the corresponding relation between the frequency of the synchronous pulse signal and the video system which is stored in advance. The electronic equipment simultaneously supports two modes of a PAL mode and an NTSC mode, and can switch the video mode supported by the electronic equipment to the target video mode after the target video mode is determined, namely, if the determined target video mode is the PAL mode, the electronic equipment switches the video mode supported by the electronic equipment to the PAL mode; and if the determined target video system is the NTSC system, the electronic equipment switches the video system supported by the electronic equipment into the NTSC system. The video system switched by the electronic equipment is a target video system determined according to the determined frequency of the synchronous pulse signal and the corresponding relation between the pre-stored frequency and the video system, so that the video system switched by the electronic equipment is the video system corresponding to the acquired frequency of the synchronous pulse signal, and videos can be normally played under the video system switched by the electronic equipment.
According to the video format switching method disclosed by the invention, the received optical signal sent by the lighting electrical appliance is converted into the electrical signal, the detection signal is determined according to the electrical signal, the synchronous pulse signal is determined according to the preset reference signal and the detection signal, and then the frequency of the synchronous pulse signal is calculated.
Further, in a specific implementation, in the method provided in an embodiment of the present invention, the determining a detection signal according to an electrical signal specifically includes:
and D, removing direct current bias and amplification processing on the electric signal, and determining a detection signal. The reason is that there are other direct current signal light sources around the environment illuminated by the lighting electrical appliance, such as the light driven by the DC power supply or the weak sunlight, the signal reflected from the electrical signal is an alternating current signal containing a direct current signal, and the signal is subjected to the direct current signal removal and the amplification processing, so that a synchronous pulse signal with accurate frequency can be obtained, and the accuracy of video system adjustment is improved.
Further, in a specific implementation, in the method provided in an embodiment of the present invention, the determining a synchronization pulse signal according to a preset reference signal and a detection signal specifically includes:
comparing the detection voltage corresponding to the detection signal with a preset reference voltage corresponding to the reference signal, outputting a high-level pulse signal when the detection voltage is less than the preset reference voltage, outputting a low-level pulse signal when the detection voltage is greater than or equal to the preset reference voltage, and determining a synchronous pulse signal according to the output high-level pulse signal and the output low-level pulse signal.
Based on the same inventive concept, an embodiment of the present invention further provides a video format switching apparatus, as shown in fig. 2, the apparatus includes:
the photoelectric conversion module 01 is used for receiving optical signals sent by the lighting electrical appliance and converting the optical signals into electrical signals;
a first determining module 02 for determining a detection signal from the electrical signal;
the second determining module 03 is configured to determine a synchronization pulse signal according to a preset reference signal and the detection signal;
the calculating module 04 is used for calculating the frequency of the synchronization pulse signal;
and the switching module 05 is configured to perform video format switching according to the frequency of the synchronization pulse signal.
In further concrete implementation, in the above apparatus provided in an embodiment of the present invention, as shown in fig. 3, the photoelectric conversion module 01 includes: a photo triode Q; the collector of the phototriode Q is connected with a first power supply end VCC1, the emitter of the phototriode Q is connected with the first determining module 02, and the base of the phototriode Q is used for receiving optical signals sent by the lighting electrical appliance. The base of the phototriode Q senses the optical signal emitted by the lighting device, converts the optical signal into an electrical signal, and outputs the electrical signal to the first determination module 02.
Further, in a specific implementation, in the apparatus provided in the embodiment of the present invention, the first determining module is specifically configured to perform dc offset and amplification processing on the electrical signal, and determine the detection signal. The reason is that there are other direct current signal light sources around the environment illuminated by the lighting electrical appliance, such as the light driven by the DC power supply or the weak sunlight, the signal reflected from the electrical signal is an alternating current signal containing a direct current signal, and the signal is subjected to the removal of the direct current signal and the amplification process to obtain a synchronous pulse signal with accurate frequency, thereby improving the accuracy of video system adjustment.
Further, in a specific implementation, in the apparatus provided in the embodiment of the present invention, as shown in fig. 3, the first determining module 02 includes: the circuit comprises a first resistor R1, a first amplifier U1, a first capacitor C1, a second resistor R2, a third resistor R3, a fourth resistor R4 and a second amplifier U2; wherein the content of the first and second substances,
the positive phase input end + of the first amplifier U1 is connected with the photoelectric conversion module 01 and used for receiving an electric signal; the output terminal of the first amplifier U1 is connected to the negative phase input terminal-of the first amplifier U1 and the first terminal of the first capacitor C1, respectively;
a first end of the first resistor R1 is connected to the non-inverting input terminal + of the first amplifier U1, and a second end of the first resistor R1 is grounded;
the second end of the first capacitor C1 is connected with the first end of the second resistor R2;
a second terminal of the second resistor R2 is connected to a first terminal of the third resistor R3 and a negative input terminal of the second amplifier U2, respectively, a positive input terminal + of the second amplifier U2 is connected to a first terminal of the fourth resistor R4, a second terminal of the fourth resistor R4 is connected to ground, and an output terminal of the second amplifier U2 is connected to a second terminal of the third resistor R3 and the second determining module 03, respectively, for outputting the detection signal. That is, after the electrical signal passes through the first amplifier U1, the direct current signal is removed through the first capacitor C1, and then the signal is amplified through the second amplifier U2 to obtain a detection signal, so that the detection signal is output to the second determining module 03.
Further, in a specific implementation, in the apparatus provided in the embodiment of the present invention, the second determining module is specifically configured to compare a detection voltage corresponding to the detection signal with a preset reference voltage corresponding to a preset reference signal, output a high-level pulse signal when the detection voltage is less than the preset reference voltage, output a low-level pulse signal when the detection voltage is greater than or equal to the preset reference voltage, and determine the synchronization pulse signal according to the output high-level pulse signal and the output low-level pulse signal.
Further, in a specific implementation, in the apparatus provided in the embodiment of the present invention, as shown in fig. 3, the second determining module 03 includes: a comparator U, a fifth resistor R5 and a sixth resistor R6; wherein the content of the first and second substances,
the negative phase input end-of the comparator U is connected to the output end of the first determining module 02 and configured to receive the detection signal, the positive phase input end + of the comparator U is connected to the first end of the fifth resistor R5 and the first end of the sixth resistor R6, respectively, the second end of the fifth resistor R5 is connected to the second power supply terminal VCC2, the second end of the sixth resistor R6 is grounded, and the output end of the comparator U is connected to the calculating module 04 and configured to output the synchronization pulse signal. Namely, the detection voltage corresponding to the detection signal is compared with the preset reference voltage (VCC2 × R6)/(R5+ R6), a high-level pulse signal is output when the detection voltage is less than the preset reference voltage (VCC2 × R6)/(R5+ R6), a low-level pulse signal is output when the detection voltage is greater than or equal to the preset reference voltage (VCC2 × R6)/(R5+ R6), and the synchronization pulse signal is determined according to the output high-level pulse signal and the low-level pulse signal.
Further, in a specific implementation, in the above apparatus provided in the embodiment of the present invention, as shown in fig. 3, the calculating module 04 includes a counter 041; the input end of the counter 041 is used for receiving the synchronization pulse signal, and the output end of the counter 041 is connected to the switching module 05 and is used for outputting the frequency of the synchronization pulse signal. The counter 041 calculates the frequency of the sync pulse signal by counting the number of pulses generated per unit time (e.g., 1 second).
Further, in a specific implementation, in the apparatus provided in the embodiment of the present invention, as shown in fig. 3, the switching module 05 includes a processor 051; the input end of the processor 051 is connected with the output end of the counter 041, and the frequency for receiving the synchronous pulse signals is used for carrying out video format switching. For example, the processor determines a target video system according to the frequency of the received synchronous pulse signal and the corresponding relation between the pre-stored frequency and the video system; and then switching the video system supported by the video system into the target video system according to the determined target video system. For example, the correspondence between the frequency of the synchronization pulse signal pre-stored in the processor and the video system is that the frequency of the synchronization pulse signal is 50Hz, and the corresponding video system is PAL; the frequency of the synchronous pulse signal is 60Hz, and the corresponding video system is NTSC system. If the frequency of the synchronous pulse signal acquired by the processor is 50Hz, determining that the target video system is the PAL system according to the corresponding relation between the frequency of the synchronous pulse signal and the video system which is stored in advance; and if the frequency of the synchronous pulse signal acquired by the processor is 60Hz, determining that the target video system is the NTSC system according to the corresponding relation between the frequency of the synchronous pulse signal and the video system which is stored in advance. The electronic equipment simultaneously supports two modes of a PAL mode and an NTSC mode, after a target video mode is determined, a processor of the electronic equipment can switch the video mode supported by the processor of the electronic equipment to the target video mode, namely, if the determined target video mode is the PAL mode, the processor of the electronic equipment switches the video mode supported by the processor of the electronic equipment to the PAL mode; and if the determined target video system is the NTSC system, the processor of the electronic equipment switches the video system supported by the processor into the NTSC system. The video system switched by the processor of the electronic equipment is a target video system determined according to the determined frequency of the synchronous pulse signal and the corresponding relation between the pre-stored frequency and the video system, so that the video system switched by the processor of the electronic equipment is the video system corresponding to the acquired frequency of the synchronous pulse signal, and videos can be normally played in the video system switched by the processor.
The following describes in detail the operation principle of the video format switching device according to the embodiment of the present invention with reference to fig. 3 by way of specific embodiments:
in the place illuminated by the lighting electric appliance, the base of the phototriode Q senses the optical signal, then the phototriode Q converts the optical signal into an electrical signal, the electrical signal is amplified by the first amplifier U1, the electrical signal passes through the first capacitor C1, the direct current signal contained in the electrical signal is removed, the electrical signal without the direct current signal passes through the second amplifier U2 and is amplified by a multiple of (1+ R3/R2), the amplified electrical signal, i.e. the detection signal, is output to the negative phase input end of the comparator U and is compared with the preset reference voltage (VCC2 x R6)/(R5+ R6) at the positive phase input end, the preset reference voltage (VCC2 x R6)/(R5+ R6) is a fixed voltage value, since the detection voltage corresponding to the detection signal varies periodically with time, when the detection voltage is less than the preset reference voltage (VCC2 x R6)/(R5+ R6), outputting a high-level pulse signal, and when the detection voltage is greater than or equal to a preset reference voltage (VCC2 × R6)/(R5+ R6), outputting a low-level pulse signal, wherein the output high-level pulse signal and the output low-level pulse signal are determined synchronous pulse signals, the synchronous pulse signals are output to a counter 041, the counter 041 calculates the frequency of the synchronous pulse signals, the calculated frequency of the synchronous pulse signals is output to a processor 051, and the processor 051 determines a target video system according to the frequency of the synchronous pulse signals and the corresponding relation between the pre-stored frequency and the video system; and then switching the video system supported by the video system into the target video system according to the determined target video system.
The invention discloses a video format switching method and a device, the method converts a received optical signal sent by an illuminating electrical appliance into an electrical signal, determines a detection signal according to the electrical signal, determines a synchronous pulse signal according to a preset reference signal and the detection signal, and then calculates the frequency of the synchronous pulse signal, and because the frequency of the synchronous pulse signal has a corresponding relation with a video format, the video format switching can be carried out according to the frequency of the synchronous pulse signal, thereby avoiding the problem that the video playing quality is influenced because a user selects a video format error.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (11)

1. A video format switching method is characterized by comprising the following steps:
receiving an optical signal sent by a lighting electrical appliance, and converting the optical signal into an electrical signal;
determining a detection signal from the electrical signal;
determining a synchronous pulse signal according to a preset reference signal and the detection signal;
calculating the frequency of the synchronization pulse signal;
determining a target video system according to the corresponding relation between the determined frequency of the synchronous pulse signal and the video system which are stored in advance;
and switching the video format supported by the video format self to the target video format according to the determined target video format.
2. The method according to claim 1, wherein said determining a detection signal from said electrical signal comprises:
and carrying out direct current bias removal and amplification processing on the electric signal to determine the detection signal.
3. The method of claim 1, wherein the determining the synchronization pulse signal according to the predetermined reference signal and the detection signal comprises:
comparing the detection voltage corresponding to the detection signal with a preset reference voltage corresponding to the preset reference signal, outputting a high-level pulse signal when the detection voltage is smaller than the preset reference voltage, outputting a low-level pulse signal when the detection voltage is greater than or equal to the preset reference voltage, and determining the synchronous pulse signal according to the output high-level pulse signal and the output low-level pulse signal.
4. A video format switching apparatus, comprising:
the photoelectric conversion module is used for receiving optical signals sent by the lighting electrical appliance and converting the optical signals into electrical signals;
a first determination module for determining a detection signal from the electrical signal;
the second determining module is used for determining a synchronous pulse signal according to a preset reference signal and the detection signal;
the calculating module is used for calculating the frequency of the synchronous pulse signal;
the switching module is used for determining a target video system according to the corresponding relation between the determined frequency of the synchronous pulse signal and the pre-stored frequency of the synchronous pulse signal and the video system; and the video system switching module is used for switching the video system supported by the video system switching module to the target video system according to the determined target video system.
5. The apparatus of claim 4, wherein the photoelectric conversion module comprises: a photo transistor; and the collector of the phototriode is connected with a first power supply end, the emitter of the phototriode is connected with the first determination module, and the base of the phototriode is used for receiving the optical signal.
6. The apparatus of claim 4, wherein the first determining module is specifically configured to perform DC-offset and amplification processing on the electrical signal to determine the detection signal.
7. The apparatus of claim 6, wherein the first determining module comprises: the circuit comprises a first resistor, a first amplifier, a first capacitor, a second resistor, a third resistor, a fourth resistor and a second amplifier; wherein the content of the first and second substances,
the positive phase input end of the first amplifier is connected with the photoelectric conversion module and used for receiving the electric signal, and the output end of the first amplifier is respectively connected with the negative phase input end of the first amplifier and the first end of the first capacitor;
the first end of the first resistor is connected with the non-inverting input end of the first amplifier, and the second end of the first resistor is grounded;
the second end of the first capacitor is connected with the first end of the second resistor;
the second end of the second resistor is connected with the first end of the third resistor and the negative phase input end of the second amplifier, the positive phase input end of the second amplifier is connected with the first end of the fourth resistor, the second end of the fourth resistor is grounded, and the output end of the second amplifier is connected with the second end of the third resistor and the second determining module respectively and used for outputting the detection signal.
8. The apparatus according to claim 4, wherein the second determining module is specifically configured to compare a detection voltage corresponding to the detection signal with a preset reference voltage corresponding to the preset reference signal, output a high-level pulse signal when the detection voltage is smaller than the preset reference voltage, output a low-level pulse signal when the detection voltage is greater than or equal to the preset reference voltage, and determine the synchronization pulse signal according to the output high-level pulse signal and the output low-level pulse signal.
9. The apparatus of claim 8, wherein the second determining module comprises: a comparator, a fifth resistor and a sixth resistor; wherein the content of the first and second substances,
the negative phase input end of the comparator is connected with the output end of the first determining module and used for receiving the detection signal, the positive phase input end of the comparator is respectively connected with the first end of the fifth resistor and the first end of the sixth resistor, the second end of the fifth resistor is connected with the second power supply end, the second end of the sixth resistor is grounded, and the output end of the comparator is connected with the calculating module and used for outputting the synchronous pulse signal.
10. The apparatus of claim 4, wherein the calculation module comprises a counter; the input end of the counter is used for receiving the synchronous pulse signal, and the output end of the counter is connected with the switching module and used for outputting the frequency of the synchronous pulse signal.
11. The apparatus of claim 10, wherein the switching module comprises a processor; and the input end of the processor is connected with the output end of the counter and is used for receiving the frequency of the synchronous pulse signal to carry out video format switching.
CN201711464978.3A 2017-12-28 2017-12-28 Video format switching method and device Active CN108093193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711464978.3A CN108093193B (en) 2017-12-28 2017-12-28 Video format switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711464978.3A CN108093193B (en) 2017-12-28 2017-12-28 Video format switching method and device

Publications (2)

Publication Number Publication Date
CN108093193A CN108093193A (en) 2018-05-29
CN108093193B true CN108093193B (en) 2020-04-03

Family

ID=62180973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711464978.3A Active CN108093193B (en) 2017-12-28 2017-12-28 Video format switching method and device

Country Status (1)

Country Link
CN (1) CN108093193B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2150690Y (en) * 1992-07-07 1993-12-22 李德 System automatic identifying device for colour television receiver
JP2000338925A (en) * 1999-05-28 2000-12-08 Alps Electric Co Ltd Image display device
US6657675B1 (en) * 2000-04-13 2003-12-02 Ndsp Corporation Method and apparatus for converting non-standard video broadcast signals to display capable video signals
CN1856083A (en) * 2005-04-29 2006-11-01 杨仁伟 Digital data reminder with automatic frequency test and method for regulating fixed frequency value
CN201464038U (en) * 2009-03-24 2010-05-12 上海光家仪器仪表有限公司 Video optical power meter
CN105141875A (en) * 2015-08-24 2015-12-09 中国航空无线电电子研究所 Universal television signal generation device
CN105208298A (en) * 2015-10-28 2015-12-30 大连科迪视频技术有限公司 Matrix switching system and matrix switching method for switching among multi-format video signals
CN107222704A (en) * 2017-06-21 2017-09-29 浙江大华技术股份有限公司 A kind of video formats switching method and device
CN107222738A (en) * 2017-06-22 2017-09-29 浙江大华技术股份有限公司 A kind of video formats determine method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2150690Y (en) * 1992-07-07 1993-12-22 李德 System automatic identifying device for colour television receiver
JP2000338925A (en) * 1999-05-28 2000-12-08 Alps Electric Co Ltd Image display device
US6657675B1 (en) * 2000-04-13 2003-12-02 Ndsp Corporation Method and apparatus for converting non-standard video broadcast signals to display capable video signals
CN1856083A (en) * 2005-04-29 2006-11-01 杨仁伟 Digital data reminder with automatic frequency test and method for regulating fixed frequency value
CN201464038U (en) * 2009-03-24 2010-05-12 上海光家仪器仪表有限公司 Video optical power meter
CN105141875A (en) * 2015-08-24 2015-12-09 中国航空无线电电子研究所 Universal television signal generation device
CN105208298A (en) * 2015-10-28 2015-12-30 大连科迪视频技术有限公司 Matrix switching system and matrix switching method for switching among multi-format video signals
CN107222704A (en) * 2017-06-21 2017-09-29 浙江大华技术股份有限公司 A kind of video formats switching method and device
CN107222738A (en) * 2017-06-22 2017-09-29 浙江大华技术股份有限公司 A kind of video formats determine method and device

Also Published As

Publication number Publication date
CN108093193A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN109922564B (en) Voltage conversion system and method for TRIAC drive
CN113228828B (en) Control circuit, driving system, chip, control method and driving method
JP2011007622A (en) Sensor apparatus, cellular phone and digital camera
CN108093193B (en) Video format switching method and device
US20110248150A1 (en) Device for quantifying and locating a light signal modulated at a predetermined frequency
CN112533334B (en) Lighting control method, power box and system based on power supply line
CN116718830A (en) Zero crossing signal detection circuit
US9455696B2 (en) Pulse frequency modulation circuit and power adapter
US8311755B2 (en) Sampling rate adjustment system and method
US8035538B2 (en) Sigma-delta conversion circuit suitable for photocurrent measurement applications
US20100289946A1 (en) Adaptive de-flicker device and method for adaptive de-flicker
US20160128163A1 (en) Light emitting device driving circuit and method thereof
WO2020182142A1 (en) Selection switch
CN107222704B (en) A kind of video formats switching method and device
TW200518463A (en) Hysteresis circuit device with modulated hysteresis voltage levels
CN117310262B (en) Primary side information detection circuit and detection chip of transformer
US20240027263A1 (en) Device for characterizing flicker
JP2875534B2 (en) Video signal control device
EP4203618A1 (en) Lighting system
CN110958742B (en) Method for improving color temperature switching consistency and lighting system
CN110266964A (en) Image acquisition system and its method for capturing process adjustment
US11946800B2 (en) Optical sensor capable of recognizing light flicker frequency and synchronizing thereto
CN212849990U (en) Wireless charging equipment
JP3053277U (en) Automatic output circuit for audio and video signals
CN116907638A (en) Optical sensor capable of identifying and synchronizing flicker frequency of light

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