US20230049359A1 - Identification circuit and method for power-line carrier signal, and integrated circuit chip - Google Patents

Identification circuit and method for power-line carrier signal, and integrated circuit chip Download PDF

Info

Publication number
US20230049359A1
US20230049359A1 US17/789,062 US201917789062A US2023049359A1 US 20230049359 A1 US20230049359 A1 US 20230049359A1 US 201917789062 A US201917789062 A US 201917789062A US 2023049359 A1 US2023049359 A1 US 2023049359A1
Authority
US
United States
Prior art keywords
duration time
power
data
circuit
identification
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.)
Pending
Application number
US17/789,062
Inventor
Yungen ZOU
Yuling LU
Shicheng QIAO
Ronghuai CAI
Mengbang CHEN
Dandan ZHANG
Jinwei Cao
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.)
Cr Technology (pingtan) Co Ltd
Original Assignee
Cr Technology (pingtan) 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 Cr Technology (pingtan) Co Ltd filed Critical Cr Technology (pingtan) Co Ltd
Assigned to CR TECHNOLOGY (PINGTAN) CO., LTD. reassignment CR TECHNOLOGY (PINGTAN) CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CAI, Ronghuai, CAO, JINWEI, CHEN, Mengbang, LU, Yuling, QIAO, Shicheng, ZHANG, DANDAN, ZOU, Yungen
Publication of US20230049359A1 publication Critical patent/US20230049359A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/50Circuit arrangements for operating light-emitting diodes [LED] responsive to malfunctions or undesirable behaviour of LEDs; responsive to LED life; Protective circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/02Amplitude-modulated carrier systems, e.g. using on-off keying; Single sideband or vestigial sideband modulation
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/355Power factor correction [PFC]; Reactive power compensation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/04Measuring peak values or amplitude or envelope of ac or of pulses
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/165Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values
    • G01R19/16504Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the components employed
    • G01R19/16519Indicating that current or voltage is either above or below a predetermined value or within or outside a predetermined range of values characterised by the components employed using FET's
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2503Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques for measuring voltage only, e.g. digital volt meters (DVM's)
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2513Arrangements for monitoring electric power systems, e.g. power lines or loads; Logging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B2203/00Indexing scheme relating to line transmission systems
    • H04B2203/54Aspects of powerline communications not already covered by H04B3/54 and its subgroups
    • H04B2203/5404Methods of transmitting or receiving signals via power distribution lines
    • H04B2203/5412Methods of transmitting or receiving signals via power distribution lines by modofying wave form of the power source
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/185Controlling the light source by remote control via power line carrier transmission

Definitions

  • the present application involves in the technical field of electronic circuits, and particularly relates to an identification circuit for power-line carrier signal, an identification method for power-line carrier signal and an integrated circuit chip.
  • chip data recognition will fail and reliability is low when a low-level point or a high-level point is close to the fixed comparison point, which leads to that a chip relatively far from a main control is not capable of recognizing data sent by a control system and cannot respond correctly based on the system data.
  • a purpose of the present application is to provide an identification circuit for power-line carrier signals, an identification method for power-line carrier signals and an integrated circuit chip, which aim to solve the problem of low data identification reliability of traditional power-line carriers in a way of using a fixed comparison point.
  • a first aspect of embodiments of the present application provides an identification circuit for power-line carrier signals, which includes:
  • a voltage amplitude detection circuit arranged to connect with a power line and configured to: detect voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time, and generate a corresponding level signal;
  • a decoding circuit connected to the voltage amplitude detection circuit and configured to convert the level signal to obtain data of a current data frame.
  • a second aspect of embodiments of the present application provides an identification method for power-line carrier signals, which includes:
  • a third aspect of embodiments of the present application provides an integrated circuit chip, which includes the identification circuit for power-line carrier signals as described above.
  • a fourth aspect of embodiments of the present application provides an integrated circuit chip, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor, when executing the computer program, implements steps of the above-mentioned method.
  • the beneficial effect of the identification circuit and method for power-line carrier signals lies in that: when the signal is transmitted on the power line, the amplitude change and duration time of the voltage signal on the power line are identified and then decoded into corresponding data, voltage dependency on the power supply during signal identification is reduced, and the increase in transmission distance will not reduce the signal recognition rate, thereby reducing requirements for the power supply of the system.
  • FIG. 1 is a schematic structural diagram of an identification circuit for power-line carrier signals provided by a first embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of an identification circuit for power-line carrier signals provided by a second embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of an identification circuit for power-line carrier signals provided by a third embodiment of the present application.
  • FIG. 4 is a waveform diagram of three different modes of power-line carrier signals of the present application.
  • FIG. 5 is a schematic diagram of an example circuit of a voltage amplitude detection circuit in the identification circuit for power-line carrier signals as shown in FIG. 1 .
  • FIG. 6 is a specific flowchart of an identification circuit for power-line carrier signals provided by the first embodiment of the present application.
  • FIG. 7 is a specific flowchart of an identification circuit for power-line carrier signals provided by the second embodiment of the present application.
  • FIG. 8 is a schematic diagram of an integrated circuit chip provided by an embodiment of the present application.
  • first and second are only used for a descriptive purpose, and cannot be construed as indicating or implying relative importance or implicitly implying the number of a specified technical feature. Thus, a feature defined with “first” or “second” may expressly or implicitly include one or more of this feature.
  • plurality means two or more, unless otherwise expressly and specifically defined.
  • FIG. 1 shows a schematic structural diagram of an identification circuit for power-line carrier signals provided by a preferred embodiment of the present application. For convenience of description, only the part related to this embodiment is shown, and the details are as follows.
  • the identification circuit for power-line carrier signals in this embodiment may be integrated in a chip, for example, to drive a LED light provided with full RGB colors, and the LED light may also be integrated in the chip.
  • the identification circuit for power-line carrier signals includes a voltage amplitude detection circuit 11 and a decoding circuit 12 .
  • a control system modulates a data signal onto a power line
  • the voltage amplitude detection circuit 11 is arranged to connect with the power line and is configured to detect voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time, and generate a corresponding level signal
  • the decoding circuit 12 is connected to the voltage amplitude detection circuit 11 and is configured to convert the level signal to obtain data of a current data frame.
  • the voltage amplitude detection circuit 11 performs level conversion on a voltage variation amplitude on the power line and compares it with a reference voltage to obtain a level signal that the decoding circuit 12 is capable of identifying.
  • the decoding circuit 12 uses a system clock to convert the level signal into carrier data; so far, a data signal loaded on the power supply voltage is decoded and separated to obtain carrier data.
  • the amplitude variation and duration time of the voltage signal on the power line are identified and then decoded into corresponding data, which reduces dependence on the power supply voltage during signal identification, and will not reduce a signal identification rate with increase of the transmission distance, thereby reducing requirements of the power supply of the system.
  • a control circuit 13 needs to be further configured in the circuit.
  • the control circuit 13 is connected to the decoding circuit 12 , and the control circuit 13 is configured to extract a driving signal from the data of the current data frame to drive a load.
  • the voltage amplitude detection circuit 11 further needs to perform counting and statistics according to a preset identification code (such as a RESET code) in the data of the current data frame when the control system needs to control multiple chips at the same time, and the driving signal is extracted from the data of the current data frame when the control circuit 13 determines that a chip address matches a count value of the current data frame.
  • a preset identification code such as a RESET code
  • the control circuit 13 includes an address setting circuit 131 , a data frame counting circuit 132 and a logic control circuit 134 .
  • the address setting circuit 131 is configured to set address information;
  • the data frame counting circuit 132 is configured to perform counting and statistics according to the preset identification code in the data;
  • the logic control circuit 134 is connected to the address setting circuit 131 , the data frame counting circuit 132 and the load, and is configured to compare the address information with the count value of the current data frame, and extract the driving signal from the data of the current data frame to drive the load when the address information matches the count value.
  • the address setting circuit 131 is connected to the logic control circuit 134 , and receives an address setting control signal through the power line to burn polysilicon fuse to set the address information of the chip.
  • an address setting terminal is 9 bits.
  • the data frame counting circuit 132 counts the preset identification code of the carrier data, and a value of the data frame counter is incremented by one when it is determined that one data frame is completed.
  • the data frame counting circuit 132 is further configured to receive an initial value setting instruction and set an initial value of the count value of a data frame counting register according to the initial value setting instruction, and the count value is accumulated after the circuit works normally.
  • the control circuit 13 should further include a conversion circuit 135 and a driving circuit 136 , the conversion circuit 135 converts control data in the carrier data into a driving signals provided with different duty ratios, and the driving circuit 135 is connected to an external LED driving terminal and configured to drive the LED module to work according to the driving signals.
  • the voltage amplitude detection circuit 11 determines whether there is a valid carrier signal according to a peak-to-peak value of a voltage on the power line and a duration time of the peak-to-peak value greater than a preset value.
  • the voltage on the power line is detected, and a corresponding level signal is output according to the peak-to-peak value of the voltage and the duration time of the peak-to-peak value greater than the preset value.
  • a first level signal lasting a second preset duration time is output if the peak-to-peak value of the voltage is greater than the preset value and the duration time matches a first preset duration time
  • a second level signal opposite to the level signal and lasting a fourth preset duration time is output if the peak-to-peak value is greater than the preset value and the duration time matches a third preset duration time
  • an identification level lasting a sixth preset duration time is output if the peak-to-peak value of the voltage is greater than the preset value and the duration time matches a fifth preset duration time
  • the identification level is a first level signal or a second level signal.
  • the decoding circuit 12 converts the first level signal lasting the second preset duration time and the second level signal lasting the fourth preset duration time into data, i.e., 0 and 1, respectively, and converts the identification level lasting the sixth preset duration time into a preset identification code.
  • the first preset duration time and the second preset duration time may be equal or may be not equal; similarly, the third preset duration time and the fourth preset duration time may be equal or may be not equal, and the fifth preset duration time and the sixth preset duration time may be equal or may be not equal.
  • the decoding circuit 12 converts the low level lasting 1 us into data 0; when it lasts 2 us, then a high level lasting 2 us is output, and the decoding circuit 12 converts the high level lasting 2 us into data 1; when it lasts 4 us, a low level or high level lasting a preset duration time (for example, 4 us) is output, and the decoding circuit 12 converts the low level or high level lasting the preset duration time into a RESET code, here the RESET code indicates that sending of this data frame is completed, and the chip whose address matches the data frame on the multi-chip cascade system will refresh brightness display.
  • the data of each data frame on the power line is represented by a combination of a high voltage and a low voltage lasting different duration times
  • the data of each data frame on the power line includes a control code, control data (for example, first data, second data, third data respectively driving a LED having three colors), and a RESET code.
  • the control code includes selection bits of two working modes
  • the first data, the second data and the third data include eight bits respectively which indicates different brightness of the LED
  • the RESET code is a preset identification code which represents data frame ending information
  • the frame ending information is represented by the duration time of the low voltage within a set time range.
  • An internal address of the chip is not limited to laser fuse, metal fuse, poly fuse, otp, mtp, etc.
  • the data of each data frame on the power line is separated from the power supply voltage.
  • the working mode control code includes two bits, when the selection bit of the working mode control code is 11, the identification circuit for power-line carrier signals is switched into a working mode configured to count data frames, and the data frame counting circuit 132 is ready to receive the initial value setting instruction to set the initial value of the count value of the data frame counter.
  • the address information of the logic control circuit 134 and the address setting circuit 131 is compared with the count value of the data frame counting circuit 132 , and when the data is the same, the logic control circuit 134 extracts control data from the data of the current data frame, the conversion circuit 135 converts the control data into brightness driving signals provided with different duty ratios, and the driving circuit 136 drives the LED modules to work according to the brightness driving signals provided with different duty ratios.
  • a chip address is not included when the control system sends the data frames, the data frame counting circuit 132 counts the RESET code in the decoded carrier data on the power line, and sends out an output signal after automatically matching an internal address of the chip, so that the amount of data being sent is reduced and the bit error rate of the data received by the chip is reduced, thereby making the control of the whole system more stable and reducing the cost of the chip and the control system at the same time.
  • the voltage amplitude detection circuit 11 includes a level conversion unit 111 and a comparator 112 .
  • the level conversion unit 111 is configured to connect with the power line to access the voltage signal on the power line, and is configured to generate a preset amplitude detection level according to the voltage signal; one input terminal of the comparator 112 is connected to the detection level, and another input terminal is connected to a reference voltage, and the comparator 112 compares the detection level with the reference voltage and outputs a comparison result of the level signal.
  • the above-mentioned voltage amplitude detection circuit 11 provides a way of identifying carrier signals, and the level signal that can be subsequently identified by the decoding circuit 12 is obtained after level conversion and comparison.
  • the level conversion unit 111 includes a capacitive unit M 0 , a first NMOS transistor M 1 and a diode D 1 ; a gate of the first NMOS transistor M 1 is used to connect to the power line, a drain of the first NMOS transistor M 1 is used as an output of the level conversion unit 111 and is connected to a first terminal of the capacitive unit M 0 , a second terminal of the capacitive unit M 0 is connected to a power terminal of the comparator 112 , and a source of the first NMOS transistor M 1 is grounded, the diode D 1 is connected between the source and the drain of the first NMOS transistor M 1 , and an anode of the diode D 1 is grounded.
  • the capacitive unit M 0 includes a capacitor; or the capacitive unit M 0 includes a PMOS transistor, wherein a gate of the PMOS transistor serves as a first terminal of the capacitive unit M 0 , and a drain, a source and a substrate of the PMOS transistor are commonly connected as a second terminal of the capacitive unit M 0 .
  • the level conversion unit 111 it can be known that the detection level and the level state of the power supply voltage are opposite.
  • the voltage amplitude detection circuit 11 further includes an output unit 113 ; the output unit 113 is connected to the output terminal of the comparator 112 , and is configured to enhance the driving capability of the level signal.
  • the output unit 113 includes two inverters I 1 and I 2 connected in series. In other embodiments, the output unit 113 may be an RC circuit.
  • the voltage amplitude detection circuit 11 further includes a power-on protection circuit 113 , an input terminal of the power-on protection circuit 113 is used to connect a power-on reset signal POR 1 , and the power-on protection circuit 113 is configured to make the output of the voltage amplitude detection circuit 11 clamp at a high level or a low level under the control of the power-on reset signal POR 1 .
  • the power-on protection circuit 113 includes a first inverter U 3 and a second NMOS transistor M 2 , an input terminal of the first inverter U 3 is used as an input terminal of the power-on protection circuit 113 , and an output terminal of the first inverter U 3 is connected to a gate of the second NMOS transistor M 2 , a drain of the second NMOS transistor M 2 is connected to the output terminal of the comparator 112 or the output terminal of the output unit 113 , and a source of the second NMOS transistor M 2 is grounded.
  • comparator 112 is a general architecture of the comparator 112 , in other embodiments, other comparator architectures may be used, which will not be repeated herein again.
  • the power-on reset signal POR 1 provides an initial state for the voltage amplitude detection circuit 11 (which may be a chip), and the power-on reset signal POR 1 after power on is at a low level, and the power-on reset signal POR 1 is at a high level after passing through the inverter I 3 , the NMOS transistor M 2 is turned on and thereby the output of the comparator 112 is forced to be low, the output of the output terminal DOUT is 0, and the chip is in a power-on reset state.
  • the power-on reset signal POR 1 is at high and is at low level after passing through the inverter I 3 , the second NMOS transistor is turned off, the value of the output terminal DOUT is the output value of the comparator 112 , and the chip operates normally.
  • the reference voltage VREF is provided by a reference module, for example, 1.2V, and the signal NBIAS is a current source provided by the reference module served as a tail current of the comparator 112 .
  • the power supply voltage VCC is input to an N terminal of the comparator 112 (the gate of the NMOS transistor M 4 ) after voltage division by the capacitive unit M 0 and the resistive unit (first NMOS transistor M 1 ), and is compared with the reference voltage VREF of the P terminal of the comparator 112 (the gate of the NMOS transistor M 5 ).
  • the capacitive unit M 0 After the power supply voltage VCC (such as 5V) is powered on, the capacitive unit M 0 is not provided with any charge.
  • the power supply voltage VCC charges the capacitive unit M 0 through the NMOS transistor M 1 , after a certain period of time, the capacitive unit M 0 is fully charged and the charging current is equal to zero, and the voltage of the N terminal of the comparator 112 is equal to 0V.
  • the voltage of the N terminal is ⁇ 0.7V
  • the voltage value 1.2V at the P terminal is greater than the voltage value ⁇ 0.7V at the N terminal and the comparator 112 outputs a high level
  • the output terminal DOUT outputs a high level after passing through the two inverters I 1 and I 2 .
  • the decoding circuit 12 identifies the DOUT output of the voltage amplitude detection module according to the level signal and duration time thereof, decodes it into corresponding data and stores the corresponding data in a form of a shift register.
  • the decoding circuit 12 may be a mode conversion circuit.
  • the format of the data frame signal includes: a control code, first data, second data, third data and a RESET code.
  • the control code includes a total of 2 bits, which are selection bits of the working mode.
  • the first data, the second data, and the third data are respectively set as 8 bits,
  • the first data, the second data and the third data respectively represent brightness data information of the LED light provided with three colors.
  • the control system sends data, it sends the low bit first, then sends the high bit.
  • the control code is sent first, and then the first data, the second data, and the third data are sent in sequence from the low bit to the high bit.
  • the conversion circuit 135 converts the control signal in the data signal into brightness driving signals provided with different duty ratios.
  • the 8-bit data information represents different values from 0 to 255, and different values correspond to different brightness of the LED light. When the value is 0, the brightness of the LED light is the smallest, and the light is turned off. When the data is 255, the brightness of the LED light is the largest. When the data is a certain value within it, such as 128, the PWM outputs brightness in a duty cycle of 128/256.
  • the logic control circuit 134 includes a plurality of XNOR gates, C1 and C0 correspond to I 56 _Q and I 52 _Q in the shift register, and the XNOR operation is performed on the value of each address of the address setting circuit and the value of each data frame counter in the data frame counting circuit are respectively and then they passes through a matched signal output by the operation.
  • the shift registers of the two control codes are operated by the XNOR gate, When C1C0 is 01, The chip turns into a mode of matching the chip address with the count of the data frames.
  • an output enabling signal of the logic control circuit 134 is obtained by an AND result of the output obtained from an XNOR gate operation of the shift registers of the two control codes and the matched signal. After an end code RESET is received and at the same time the output enabling signal is 1, the logic control circuit 134 outputs the first data, the second data and the third data in the carrier data to the conversion circuit 135 , and updates the output of the driving circuit 136 at the same time; otherwise, the output display is not refreshed.
  • an identification method for power-line carrier signals which includes:
  • step S 110 detecting voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time, and generating a corresponding level signal;
  • converting the level signal to obtain data of a current data frame is converting the level signal to obtain data of a current data frame.
  • the detecting voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time, and generating a corresponding level signal includes:
  • a first level signal lasting a second preset duration time is output if the peak-to-peak value is greater than the preset value and the duration time matches a first preset duration time
  • a second level signal opposite to the level signal and lasting a fourth preset duration time is output if the peak-to-peak value is greater than the preset value and the duration time matches a third preset duration time
  • an identification level lasting a sixth preset duration time is output if the peak-to-peak value is greater than the preset value and the duration time matches a fifth preset duration time, the identification level is a first level signal or a second level signal.
  • the converting the level signal to obtain data of a current data frame includes:
  • the data of each data frame includes a control code, control data and a preset identification code arranged in sequence.
  • a step S 130 is further included, i.e., extracting a driving signal from the data of the current data frame to drive a load.
  • the extracting a driving signal from the data of the current data frame to control a load to work includes;
  • the method further includes: receiving an initial value setting instruction, and setting an initial value of the count value according to the initial value setting instruction.
  • FIG. 8 is a schematic diagram of an integrated circuit chip provided by an embodiment of the present application.
  • the integrated circuit chip 6 of this embodiment includes: a processor 60 , a memory 61 , and a computer program 62 stored in the memory 61 and executable on the processor 60 , and the processor 60 , when executing the computer program 62 , implements the steps in each of the above-mentioned embodiments of the identification method for power-line carrier signals, for example, the steps from 110 to 130 as shown in FIG. 5 .
  • the processor 60 when executing the computer program 62 , implements the functions of the modules/units in the above-mentioned apparatus embodiments, for example, the functions of the modules as shown in FIG. 2 .
  • the computer program 62 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 61 and executed by the processor 60 to complete the present application.
  • the one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe an execution process of the computer program 62 in the integrated circuit chip 6 .
  • the computer program 62 may be divided into a synchronization module, an aggregation module, an acquisition module, and a return module (modules in a virtual apparatus), and the specific functions of each module are as follows:
  • processor 60 may be a CPU (Central Processing Unit), and may also be other general-purpose processor, DSP (Digital Signal Processors), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory 61 may be an internal storage unit of the integrated circuit chip 6 , such as a hard disk or a memory of the integrated circuit chip 6 .
  • the memory 61 may also be an external storage device of the integrated circuit chip 6 , such as a plug-in hard disk, a SMC (Smart Media Card), an SD (Secure Digital) card, a flash card etc. equipped in the integrated circuit chip 6 .
  • the memory 61 may also include both an internal storage unit of the integrated circuit chip 6 and an external storage device.
  • the memory 61 is used to store the computer program and other programs and data required by the integrated circuit chip.
  • the memory 61 may also be used to temporarily store data that has been output or will be output.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Electronic Switches (AREA)
  • Logic Circuits (AREA)

Abstract

The present application discloses an identification circuit for a power-line carrier signal. During signal transmission on a power line, the amplitude change and duration of a voltage signal on the power line are identified and then decoded into corresponding data, so as to reduce dependency on a power supply voltage during signal identification, and prevent the signal identification rate from decreasing as a result of an increase in the transmission distance, thereby reducing requirements for a system power supply.

Description

    CROSS REFERENCE TO RELATED APPLICATION
  • The present application is a National Stage of PCT Application No. PCT/CN2019/130874 filed on Dec. 31, 2019, the content of which is incorporated herein by reference thereto.
  • BACKGROUND Technical Field
  • The present application involves in the technical field of electronic circuits, and particularly relates to an identification circuit for power-line carrier signal, an identification method for power-line carrier signal and an integrated circuit chip.
  • Description of Related Art
  • The statements herein merely provide background information related to the present application and do not necessarily constitute prior art. Nowadays, there are many power-line carrier LED control chips on the market that are applied in 3D lights, Christmas lights, curtain lights and other occasions, which simplify the installation process and greatly save the cable cost compared with previous four-wire transmission systems, meanwhile reduce the failure rate of products, thereby making no maintenance trouble. However, since these products use power lines to transmit data, a voltage of a power supply will decrease with increase of a transmission distance and signal transmission amplitude will also become smaller under a premise that the power lines themselves provide great interference. By using a fixed comparison point to identify the data, chip data recognition will fail and reliability is low when a low-level point or a high-level point is close to the fixed comparison point, which leads to that a chip relatively far from a main control is not capable of recognizing data sent by a control system and cannot respond correctly based on the system data.
  • BRIEF SUMMARY
  • A purpose of the present application is to provide an identification circuit for power-line carrier signals, an identification method for power-line carrier signals and an integrated circuit chip, which aim to solve the problem of low data identification reliability of traditional power-line carriers in a way of using a fixed comparison point.
  • In order to solve the above technical problem, technical solutions adopted by embodiments of the present application are as follows.
  • A first aspect of embodiments of the present application provides an identification circuit for power-line carrier signals, which includes:
  • a voltage amplitude detection circuit arranged to connect with a power line and configured to: detect voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time, and generate a corresponding level signal;
  • a decoding circuit connected to the voltage amplitude detection circuit and configured to convert the level signal to obtain data of a current data frame.
  • A second aspect of embodiments of the present application provides an identification method for power-line carrier signals, which includes:
  • detecting voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time, and generating a corresponding level signal;
  • converting the level signal to obtain data of a current data frame.
  • A third aspect of embodiments of the present application provides an integrated circuit chip, which includes the identification circuit for power-line carrier signals as described above.
  • A fourth aspect of embodiments of the present application provides an integrated circuit chip, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor, when executing the computer program, implements steps of the above-mentioned method.
  • The beneficial effect of the identification circuit and method for power-line carrier signals provided by the embodiments of the present application lies in that: when the signal is transmitted on the power line, the amplitude change and duration time of the voltage signal on the power line are identified and then decoded into corresponding data, voltage dependency on the power supply during signal identification is reduced, and the increase in transmission distance will not reduce the signal recognition rate, thereby reducing requirements for the power supply of the system.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • In order to illustrate the technical solutions in the embodiments of the present application more clearly, the accompanying drawings that are used in description for the embodiments or exemplary technologies are briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings may also be obtained for those of ordinary skill in the art according to these drawings without any creative effort.
  • FIG. 1 is a schematic structural diagram of an identification circuit for power-line carrier signals provided by a first embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of an identification circuit for power-line carrier signals provided by a second embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of an identification circuit for power-line carrier signals provided by a third embodiment of the present application.
  • FIG. 4 is a waveform diagram of three different modes of power-line carrier signals of the present application.
  • FIG. 5 is a schematic diagram of an example circuit of a voltage amplitude detection circuit in the identification circuit for power-line carrier signals as shown in FIG. 1 .
  • FIG. 6 is a specific flowchart of an identification circuit for power-line carrier signals provided by the first embodiment of the present application.
  • FIG. 7 is a specific flowchart of an identification circuit for power-line carrier signals provided by the second embodiment of the present application.
  • FIG. 8 is a schematic diagram of an integrated circuit chip provided by an embodiment of the present application.
  • DETAILED DESCRIPTION OF THE EMBODIMENTS
  • In order to make the purpose, technical solutions and advantages of the present application more clear and comprehensible, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
  • In order to make the technical problem to be solved by the present application, technical solutions and beneficial effect more clear and comprehensible, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
  • It should be noted that when an element is referred to as being “fixed to” or “disposed on” another element, this element may be directly or indirectly on the another element. When an element is referred to as being “connected to” another element, this element may be directly or indirectly connected to the another element.
  • Additionally, the terms “first” and “second” are only used for a descriptive purpose, and cannot be construed as indicating or implying relative importance or implicitly implying the number of a specified technical feature. Thus, a feature defined with “first” or “second” may expressly or implicitly include one or more of this feature. In the description of the present application, “plurality” means two or more, unless otherwise expressly and specifically defined.
  • Please refer to FIG. 1 , FIG. 1 shows a schematic structural diagram of an identification circuit for power-line carrier signals provided by a preferred embodiment of the present application. For convenience of description, only the part related to this embodiment is shown, and the details are as follows.
  • The identification circuit for power-line carrier signals in this embodiment may be integrated in a chip, for example, to drive a LED light provided with full RGB colors, and the LED light may also be integrated in the chip. The identification circuit for power-line carrier signals includes a voltage amplitude detection circuit 11 and a decoding circuit 12. A control system modulates a data signal onto a power line, and the voltage amplitude detection circuit 11 is arranged to connect with the power line and is configured to detect voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time, and generate a corresponding level signal; the decoding circuit 12 is connected to the voltage amplitude detection circuit 11 and is configured to convert the level signal to obtain data of a current data frame.
  • The voltage amplitude detection circuit 11 performs level conversion on a voltage variation amplitude on the power line and compares it with a reference voltage to obtain a level signal that the decoding circuit 12 is capable of identifying. The decoding circuit 12 uses a system clock to convert the level signal into carrier data; so far, a data signal loaded on the power supply voltage is decoded and separated to obtain carrier data.
  • When the carrier signal is transmitted on the power line, the amplitude variation and duration time of the voltage signal on the power line are identified and then decoded into corresponding data, which reduces dependence on the power supply voltage during signal identification, and will not reduce a signal identification rate with increase of the transmission distance, thereby reducing requirements of the power supply of the system.
  • In some of the embodiments, please refer to FIG. 2 , if a load needs to be driven according to the carrier data, then a control circuit 13 needs to be further configured in the circuit. The control circuit 13 is connected to the decoding circuit 12, and the control circuit 13 is configured to extract a driving signal from the data of the current data frame to drive a load. Further, the voltage amplitude detection circuit 11 further needs to perform counting and statistics according to a preset identification code (such as a RESET code) in the data of the current data frame when the control system needs to control multiple chips at the same time, and the driving signal is extracted from the data of the current data frame when the control circuit 13 determines that a chip address matches a count value of the current data frame.
  • In some embodiments, please refer to FIG. 3 , the control circuit 13 includes an address setting circuit 131, a data frame counting circuit 132 and a logic control circuit 134. The address setting circuit 131 is configured to set address information; the data frame counting circuit 132 is configured to perform counting and statistics according to the preset identification code in the data; the logic control circuit 134 is connected to the address setting circuit 131, the data frame counting circuit 132 and the load, and is configured to compare the address information with the count value of the current data frame, and extract the driving signal from the data of the current data frame to drive the load when the address information matches the count value.
  • In this embodiment, the address setting circuit 131 is connected to the logic control circuit 134, and receives an address setting control signal through the power line to burn polysilicon fuse to set the address information of the chip. In this embodiment, an address setting terminal is 9 bits. The data frame counting circuit 132 counts the preset identification code of the carrier data, and a value of the data frame counter is incremented by one when it is determined that one data frame is completed. Optionally, the data frame counting circuit 132 is further configured to receive an initial value setting instruction and set an initial value of the count value of a data frame counting register according to the initial value setting instruction, and the count value is accumulated after the circuit works normally.
  • As mentioned above, for example, if the load is a full-color LED light, the control circuit 13 should further include a conversion circuit 135 and a driving circuit 136, the conversion circuit 135 converts control data in the carrier data into a driving signals provided with different duty ratios, and the driving circuit 135 is connected to an external LED driving terminal and configured to drive the LED module to work according to the driving signals.
  • In this embodiment, the voltage amplitude detection circuit 11 determines whether there is a valid carrier signal according to a peak-to-peak value of a voltage on the power line and a duration time of the peak-to-peak value greater than a preset value. There is no need to set the method of adopting a fixed point to identify data, the peak-to-peak value of the voltage will not change even if the power supply voltage will decrease with the increase of transmission distance, and the carrier signal can be identified as long as the peak-to-peak value of the voltage on the power line is greater than the preset value, therefore high reliability is provided, and the chip relatively far from the main control can also identify the data sent by the control system.
  • Please refer to FIG. 3 and FIG. 4 , specifically, the voltage on the power line is detected, and a corresponding level signal is output according to the peak-to-peak value of the voltage and the duration time of the peak-to-peak value greater than the preset value. Here, a first level signal lasting a second preset duration time is output if the peak-to-peak value of the voltage is greater than the preset value and the duration time matches a first preset duration time, a second level signal opposite to the level signal and lasting a fourth preset duration time is output if the peak-to-peak value is greater than the preset value and the duration time matches a third preset duration time, and an identification level lasting a sixth preset duration time is output if the peak-to-peak value of the voltage is greater than the preset value and the duration time matches a fifth preset duration time, the identification level is a first level signal or a second level signal. After that, the decoding circuit 12 converts the first level signal lasting the second preset duration time and the second level signal lasting the fourth preset duration time into data, i.e., 0 and 1, respectively, and converts the identification level lasting the sixth preset duration time into a preset identification code. It could be understood that, the first preset duration time and the second preset duration time may be equal or may be not equal; similarly, the third preset duration time and the fourth preset duration time may be equal or may be not equal, and the fifth preset duration time and the sixth preset duration time may be equal or may be not equal.
  • Please refer to FIG. 4 , for example, when the peak-to-peak value of the voltage (which may be at any level) of the voltage signal accessed in by the voltage amplitude detection circuit 11 and meeting a condition lasts 1 us, then a low level lasting 1 us is output, and then the decoding circuit 12 converts the low level lasting 1 us into data 0; when it lasts 2 us, then a high level lasting 2 us is output, and the decoding circuit 12 converts the high level lasting 2 us into data 1; when it lasts 4 us, a low level or high level lasting a preset duration time (for example, 4 us) is output, and the decoding circuit 12 converts the low level or high level lasting the preset duration time into a RESET code, here the RESET code indicates that sending of this data frame is completed, and the chip whose address matches the data frame on the multi-chip cascade system will refresh brightness display.
  • In one embodiment, the data of each data frame on the power line is represented by a combination of a high voltage and a low voltage lasting different duration times, and the data of each data frame on the power line includes a control code, control data (for example, first data, second data, third data respectively driving a LED having three colors), and a RESET code. Optionally, the control code includes selection bits of two working modes, the first data, the second data and the third data include eight bits respectively which indicates different brightness of the LED, the RESET code is a preset identification code which represents data frame ending information, and the frame ending information is represented by the duration time of the low voltage within a set time range. An internal address of the chip is not limited to laser fuse, metal fuse, poly fuse, otp, mtp, etc.
  • In one embodiment, the data of each data frame on the power line is separated from the power supply voltage. For example, the working mode control code includes two bits, when the selection bit of the working mode control code is 11, the identification circuit for power-line carrier signals is switched into a working mode configured to count data frames, and the data frame counting circuit 132 is ready to receive the initial value setting instruction to set the initial value of the count value of the data frame counter. When the selection bit of the working mode control code is 01, the address information of the logic control circuit 134 and the address setting circuit 131 is compared with the count value of the data frame counting circuit 132, and when the data is the same, the logic control circuit 134 extracts control data from the data of the current data frame, the conversion circuit 135 converts the control data into brightness driving signals provided with different duty ratios, and the driving circuit 136 drives the LED modules to work according to the brightness driving signals provided with different duty ratios.
  • A chip address is not included when the control system sends the data frames, the data frame counting circuit 132 counts the RESET code in the decoded carrier data on the power line, and sends out an output signal after automatically matching an internal address of the chip, so that the amount of data being sent is reduced and the bit error rate of the data received by the chip is reduced, thereby making the control of the whole system more stable and reducing the cost of the chip and the control system at the same time.
  • In one embodiment, please refer to FIG. 5 , the voltage amplitude detection circuit 11 includes a level conversion unit 111 and a comparator 112. The level conversion unit 111 is configured to connect with the power line to access the voltage signal on the power line, and is configured to generate a preset amplitude detection level according to the voltage signal; one input terminal of the comparator 112 is connected to the detection level, and another input terminal is connected to a reference voltage, and the comparator 112 compares the detection level with the reference voltage and outputs a comparison result of the level signal. The above-mentioned voltage amplitude detection circuit 11 provides a way of identifying carrier signals, and the level signal that can be subsequently identified by the decoding circuit 12 is obtained after level conversion and comparison.
  • In one embodiment, the level conversion unit 111 includes a capacitive unit M0, a first NMOS transistor M1 and a diode D1; a gate of the first NMOS transistor M1 is used to connect to the power line, a drain of the first NMOS transistor M1 is used as an output of the level conversion unit 111 and is connected to a first terminal of the capacitive unit M0, a second terminal of the capacitive unit M0 is connected to a power terminal of the comparator 112, and a source of the first NMOS transistor M1 is grounded, the diode D1 is connected between the source and the drain of the first NMOS transistor M1, and an anode of the diode D1 is grounded.
  • Optionally, the capacitive unit M0 includes a capacitor; or the capacitive unit M0 includes a PMOS transistor, wherein a gate of the PMOS transistor serves as a first terminal of the capacitive unit M0, and a drain, a source and a substrate of the PMOS transistor are commonly connected as a second terminal of the capacitive unit M0. In this embodiment, according to the working principle of the level conversion unit 111, it can be known that the detection level and the level state of the power supply voltage are opposite.
  • In one embodiment, the voltage amplitude detection circuit 11 further includes an output unit 113; the output unit 113 is connected to the output terminal of the comparator 112, and is configured to enhance the driving capability of the level signal. In this embodiment, the output unit 113 includes two inverters I1 and I2 connected in series. In other embodiments, the output unit 113 may be an RC circuit.
  • In one embodiment, the voltage amplitude detection circuit 11 further includes a power-on protection circuit 113, an input terminal of the power-on protection circuit 113 is used to connect a power-on reset signal POR1, and the power-on protection circuit 113 is configured to make the output of the voltage amplitude detection circuit 11 clamp at a high level or a low level under the control of the power-on reset signal POR1. Optionally, the power-on protection circuit 113 includes a first inverter U3 and a second NMOS transistor M2, an input terminal of the first inverter U3 is used as an input terminal of the power-on protection circuit 113, and an output terminal of the first inverter U3 is connected to a gate of the second NMOS transistor M2, a drain of the second NMOS transistor M2 is connected to the output terminal of the comparator 112 or the output terminal of the output unit 113, and a source of the second NMOS transistor M2 is grounded.
  • Additionally, what is disclosed in FIG. 5 is a general architecture of the comparator 112, in other embodiments, other comparator architectures may be used, which will not be repeated herein again.
  • Specifically, the power-on reset signal POR1 provides an initial state for the voltage amplitude detection circuit 11 (which may be a chip), and the power-on reset signal POR1 after power on is at a low level, and the power-on reset signal POR1 is at a high level after passing through the inverter I3, the NMOS transistor M2 is turned on and thereby the output of the comparator 112 is forced to be low, the output of the output terminal DOUT is 0, and the chip is in a power-on reset state. After the chip is succeed in power on and reset, the power-on reset signal POR1 is at high and is at low level after passing through the inverter I3, the second NMOS transistor is turned off, the value of the output terminal DOUT is the output value of the comparator 112, and the chip operates normally. The reference voltage VREF is provided by a reference module, for example, 1.2V, and the signal NBIAS is a current source provided by the reference module served as a tail current of the comparator 112. The power supply voltage VCC is input to an N terminal of the comparator 112 (the gate of the NMOS transistor M4) after voltage division by the capacitive unit M0 and the resistive unit (first NMOS transistor M1), and is compared with the reference voltage VREF of the P terminal of the comparator 112 (the gate of the NMOS transistor M5).
  • After the power supply voltage VCC (such as 5V) is powered on, the capacitive unit M0 is not provided with any charge. The power supply voltage VCC charges the capacitive unit M0 through the NMOS transistor M1, after a certain period of time, the capacitive unit M0 is fully charged and the charging current is equal to zero, and the voltage of the N terminal of the comparator 112 is equal to 0V. When the power supply voltage VCC drops from 5V to 3V, the voltage drop 5V across the capacitive unit M0 cannot be abruptly changed, and the voltage at the N terminal is: 3-5=−2V. Due to the clamping effect of the diode D1, the voltage of the N terminal is −0.7V, the voltage value 1.2V at the P terminal is greater than the voltage value −0.7V at the N terminal and the comparator 112 outputs a high level, and the output terminal DOUT outputs a high level after passing through the two inverters I1 and I2. When the power supply voltage VCC rises from 3V to 5V, the voltage drop −2V across the capacitive unit M0 cannot be abruptly changed, the voltage at the N terminal is: −0.7+2=1.3V, the voltage value 1.2V at the P terminal is less than the voltage value 1.3V at the N terminal, the comparator 112 outputs a low level, and the output terminal DOUT outputs a low level after passing through the two inverters I4 and I3. The detection work of the voltage amplitude detection is repeated in this way, the decoding circuit 12 identifies the DOUT output of the voltage amplitude detection module according to the level signal and duration time thereof, decodes it into corresponding data and stores the corresponding data in a form of a shift register. The decoding circuit 12 may be a mode conversion circuit.
  • In this embodiment, the format of the data frame signal includes: a control code, first data, second data, third data and a RESET code. In this embodiment, the control code includes a total of 2 bits, which are selection bits of the working mode. The first data, the second data, and the third data are respectively set as 8 bits,
  • C1 C0: 2-bit working mode selection bits, when C1C0=11, the chip turns into a working mode configured to count data frames; when C1C0=01, the chip address matches the count of the data frames and the chip outputs the driving signal. When a full-color LED light is driven, the first data, the second data and the third data respectively represent brightness data information of the LED light provided with three colors. When the control system sends data, it sends the low bit first, then sends the high bit. The control code is sent first, and then the first data, the second data, and the third data are sent in sequence from the low bit to the high bit.
  • The conversion circuit 135 converts the control signal in the data signal into brightness driving signals provided with different duty ratios. The 8-bit data information represents different values from 0 to 255, and different values correspond to different brightness of the LED light. When the value is 0, the brightness of the LED light is the smallest, and the light is turned off. When the data is 255, the brightness of the LED light is the largest. When the data is a certain value within it, such as 128, the PWM outputs brightness in a duty cycle of 128/256.
  • The logic control circuit 134 includes a plurality of XNOR gates, C1 and C0 correspond to I56_Q and I52_Q in the shift register, and the XNOR operation is performed on the value of each address of the address setting circuit and the value of each data frame counter in the data frame counting circuit are respectively and then they passes through a matched signal output by the operation. The shift registers of the two control codes are operated by the XNOR gate, When C1C0 is 01, The chip turns into a mode of matching the chip address with the count of the data frames.
  • When C1C0 is 01, an output enabling signal of the logic control circuit 134 is obtained by an AND result of the output obtained from an XNOR gate operation of the shift registers of the two control codes and the matched signal. After an end code RESET is received and at the same time the output enabling signal is 1, the logic control circuit 134 outputs the first data, the second data and the third data in the carrier data to the conversion circuit 135, and updates the output of the driving circuit 136 at the same time; otherwise, the output display is not refreshed.
  • Please refer to FIG. 6 , the present application further discloses an identification method for power-line carrier signals, which includes:
  • at a step S110, detecting voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time, and generating a corresponding level signal;
  • at a step 120, converting the level signal to obtain data of a current data frame.
  • In one embodiment, the detecting voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time, and generating a corresponding level signal, includes:
  • detecting the voltage on the power line, and outputting a corresponding level signal according to the peak-to-peak value of the voltage and the duration time, here, a first level signal lasting a second preset duration time is output if the peak-to-peak value is greater than the preset value and the duration time matches a first preset duration time, a second level signal opposite to the level signal and lasting a fourth preset duration time is output if the peak-to-peak value is greater than the preset value and the duration time matches a third preset duration time, and an identification level lasting a sixth preset duration time is output if the peak-to-peak value is greater than the preset value and the duration time matches a fifth preset duration time, the identification level is a first level signal or a second level signal.
  • In one embodiment, the converting the level signal to obtain data of a current data frame includes:
  • converting the first level signal lasting the second preset duration time and the second level signal lasting the fourth preset duration time into data 0 and 1 respectively, and converting the identification level lasting the sixth preset duration time into a preset identification code;
  • here, the data of each data frame includes a control code, control data and a preset identification code arranged in sequence.
  • In one embodiment, please refer to FIG. 7 , a step S130 is further included, i.e., extracting a driving signal from the data of the current data frame to drive a load.
  • In one embodiment, the extracting a driving signal from the data of the current data frame to control a load to work includes;
  • comparing the address information with a count value of the current data frame, here the count value is counted and added up according to the preset identification code in the data;
  • extracting control data from the data of the current data frame when the address information matches the count value;
  • converting the control data into the driving signal and outputting the driving signal to drive the load.
  • In one embodiment, the method further includes: receiving an initial value setting instruction, and setting an initial value of the count value according to the initial value setting instruction.
  • FIG. 8 is a schematic diagram of an integrated circuit chip provided by an embodiment of the present application. As shown in FIG. 8 , the integrated circuit chip 6 of this embodiment includes: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60, and the processor 60, when executing the computer program 62, implements the steps in each of the above-mentioned embodiments of the identification method for power-line carrier signals, for example, the steps from 110 to 130 as shown in FIG. 5 . Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-mentioned apparatus embodiments, for example, the functions of the modules as shown in FIG. 2 .
  • Exemplarily, the computer program 62 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe an execution process of the computer program 62 in the integrated circuit chip 6. For example, the computer program 62 may be divided into a synchronization module, an aggregation module, an acquisition module, and a return module (modules in a virtual apparatus), and the specific functions of each module are as follows:
  • the so-called processor 60 may be a CPU (Central Processing Unit), and may also be other general-purpose processor, DSP (Digital Signal Processors), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • The memory 61 may be an internal storage unit of the integrated circuit chip 6, such as a hard disk or a memory of the integrated circuit chip 6. The memory 61 may also be an external storage device of the integrated circuit chip 6, such as a plug-in hard disk, a SMC (Smart Media Card), an SD (Secure Digital) card, a flash card etc. equipped in the integrated circuit chip 6. Further, the memory 61 may also include both an internal storage unit of the integrated circuit chip 6 and an external storage device. The memory 61 is used to store the computer program and other programs and data required by the integrated circuit chip. The memory 61 may also be used to temporarily store data that has been output or will be output.
  • The above-mentioned embodiments are only used to illustrate, but not to limit, the technical solutions of the present application; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or equivalently replace some technical features thereof; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the present application, and should be included within the scope of protection of the present application.

Claims (21)

1. An identification circuit for power-line carrier signals, comprising:
a voltage amplitude detection circuit arranged to connect with a power line and configured to: detect voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time, and generate a corresponding level signal;
a decoding circuit connected to the voltage amplitude detection circuit and configured to convert the level signal to obtain data of a current data frame.
2. The identification circuit for power-line carrier signals of claim 1, wherein the voltage amplitude detection circuit is specifically configured to:
detect a voltage on the power line, and output the corresponding level signal according to a peak-to-peak value of the voltage and a duration time, wherein:
output a first level signal lasting a second preset duration time if the peak-to-peak value is greater than a preset value and the duration time matches a first preset duration time;
output a second level signal opposite to the first level signal and lasting a fourth preset duration time if the peak-to-peak value is greater than the preset value and the duration time matches a third preset duration time;
output an identification level lasting a sixth preset duration time if the peak-to-peak value is greater than the preset value and the duration time matches a fifth preset duration time, wherein the identification level is the first level signal or the second level signal.
3. The identification circuit for power-line carrier signals of claim 1, wherein the voltage amplitude detection circuit comprises:
a level conversion unit configured to connect to the power line for accessing a voltage signal on the power line and generate a detection level having a preset amplitude according to the voltage signal;
a comparator, one input terminal thereof being connected to the detection level, another input terminal thereof being connected to a reference voltage, wherein the comparator compares the detection level with the reference voltage and outputs a comparison result of the level signal.
4. The identification circuit for power-line carrier signals of claim 3, wherein the level conversion unit comprises a capacitive unit, a first NMOS transistor and a diode; a gate of the first NMOS transistor is configured to connect to the power line, a drain of the first NMOS transistor is configured as an output of the level conversion unit and is connected to a first terminal of the capacitive unit, a second terminal of the capacitive unit is connected to a power terminal of the comparator, a source of the first NMOS transistor is grounded, the diode is connected between the source and the drain of the first NMOS transistor, and an anode of the diode is grounded.
5. The identification circuit for power-line carrier signals of claim 4, wherein the capacitive unit comprises a capacitor; or
the capacitive unit comprises a PMOS transistor, wherein a gate of the PMOS transistor serves as a first terminal of the capacitive unit, and a drain, a source and a substrate of the PMOS transistor are commonly connected as a second terminal of the capacitive unit.
6. The identification circuit for power-line carrier signals of claim 3, wherein the voltage amplitude detection circuit further comprises a power-on protection circuit, an input terminal of the power-on protection circuit is configured to connect a power-on reset signal, and the power-on protection circuit is configured to make an output of the voltage amplitude detection circuit clamp at a high level or a low level under control of the power-on reset signal.
7. The identification circuit for power-line carrier signals of claim 6, wherein the power-on protection circuit comprises a first inverter and a second NMOS transistor, an input terminal of the first inverter serves as the input terminal of the power-on protection circuit, an output terminal of the first inverter is connected to a gate of the second NMOS transistor, a drain of the second NMOS transistor is connected to an output terminal of the comparator or an output terminal of the output unit, and a source of the second NMOS transistor is grounded.
8. The identification circuit for power-line carrier signals of claim 2, wherein the decoding circuit converts the first level signal lasting the second preset duration time and the second level signal lasting the fourth preset duration time into data 0 and 1 respectively, and converts the identification level lasting the sixth preset duration time into a preset identification code;
wherein the data of each of the data frames comprises a control code, control data and the preset identification code arranged in sequence.
9. The identification circuit for power-line carrier signals of claim 1, wherein the identification circuit further comprises a control circuit, the control circuit is connected to the decoding circuit and is configured to extract a driving signal from the data of the current data frame to drive a load.
10. The identification circuit for power-line carrier signals of claim 9, wherein the control circuit comprises:
an address setting circuit configured to set address information;
a data frame counting circuit configured to perform counting and statistics according to the preset identification code in the data;
a logic control circuit connected to the address setting circuit, the data frame counting circuit and the load and configured to: compare the address information with a count value of the current data frame, and extract the driving signal from the data of the current data frame to drive the load when the address information matches the count value.
11. The identification circuit for power-line carrier signals of claim 9, wherein the data frame counting circuit is further configured to receive an initial value setting instruction and set an initial value of a count value of a data frame counter of the data frame counting circuit according to the initial value setting instruction.
12. The identification circuit for power-line carrier signals of claim 10, wherein the address setting circuit sets the address information through turning on or turning off of a polysilicon fuse inside a chip.
13. An identification method for power-line carrier signals, comprising:
detecting voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time, and generating a corresponding level signal;
converting the level signal to obtain data of a current data frame.
14. The identification method for power-line carrier signals of claim 13, wherein the detecting voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time and generating a corresponding level signal comprises:
detecting a voltage on the power line, and outputting the corresponding level signal according to a peak-to-peak value of the voltage and a duration time, wherein:
outputting a first level signal lasting a second preset duration time if the peak-to-peak value is greater than a preset value and the duration time matches a first preset duration time;
outputting a second level signal opposite to the first level signal and lasting a fourth preset duration time if the peak-to-peak value is greater than the preset value and the duration time matches a third preset duration time;
outputting an identification level lasting a sixth preset duration time if the peak-to-peak value is greater than the preset value and the duration time matches a fifth preset duration time, wherein the identification level is the first level signal or the second level signal.
15. The identification method for power-line carrier signals of claim 14, wherein the converting the level signal to obtain data of a current data frame comprises:
converting the first level signal lasting the second preset duration time and the second level signal lasting the fourth preset duration time into data 0 and 1 respectively, and converting the identification level lasting the sixth preset duration time into a preset identification code;
wherein the data of each of the data frames comprises a control code, control data and the preset identification code arranged in sequence.
16. The identification method for power-line carrier signals of claim 13, wherein the identification method further comprises extracting a driving signal from the data of the current data frame to drive a load.
17. The identification method for power-line carrier signals of claim 16, wherein the extracting a driving signal from the data of the current data frame to drive a load comprises:
comparing address information with a count value of the current data frame, wherein the count value is counted and accumulated according to the preset identification code in the data;
extracting control data from the data of the current data frame when the address information matches the count value;
converting the control data into the driving signal and outputting the driving signal to drive the load.
18. The identification method for power-line carrier signals of claim 17, wherein the identification method further comprises:
receiving an initial value setting instruction and setting an initial value of the count value according to the initial value setting instruction.
19. (canceled)
20. An integrated circuit chip, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements steps of:
detecting voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time, and generating a corresponding level signal;
converting the level signal to obtain data of a current data frame.
21. The integrated circuit chip of claim 20, wherein the detecting voltage amplitude variation on the power line caused by modulation of data of each of data frames on the power line in a form of a carrier signal as well as duration time and generating a corresponding level signal comprises:
detecting a voltage on the power line, and outputting the corresponding level signal according to a peak-to-peak value of the voltage and a duration time, wherein:
outputting a first level signal lasting a second preset duration time if the peak-to-peak value is greater than a preset value and the duration time matches a first preset duration time;
outputting a second level signal opposite to the first level signal and lasting a fourth preset duration time if the peak-to-peak value is greater than the preset value and the duration time matches a third preset duration time;
outputting an identification level lasting a sixth preset duration time if the peak-to-peak value is greater than the preset value and the duration time matches a fifth preset duration time, wherein the identification level is the first level signal or the second level signal.
US17/789,062 2019-12-31 2019-12-31 Identification circuit and method for power-line carrier signal, and integrated circuit chip Pending US20230049359A1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/130874 WO2021134653A1 (en) 2019-12-31 2019-12-31 Identification circuit and method for power-line carrier signal, and integrated circuit chip

Publications (1)

Publication Number Publication Date
US20230049359A1 true US20230049359A1 (en) 2023-02-16

Family

ID=70831844

Family Applications (1)

Application Number Title Priority Date Filing Date
US17/789,062 Pending US20230049359A1 (en) 2019-12-31 2019-12-31 Identification circuit and method for power-line carrier signal, and integrated circuit chip

Country Status (3)

Country Link
US (1) US20230049359A1 (en)
CN (1) CN111226506B (en)
WO (1) WO2021134653A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112533334B (en) * 2020-12-15 2023-03-24 黄禹舜 Lighting control method, power box and system based on power supply line

Family Cites Families (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2583180B1 (en) * 1985-06-10 1987-08-07 Cit Alcatel METHOD AND DEVICE FOR REDUCING THE JIT OF A SYNCHRONOUS DIGITAL TRAIN FOR THE RECOVERY OF ITS RHYTHM
KR0126907B1 (en) * 1992-12-29 1997-12-29 윤종용 A ghost canceling apparatus having an adaptive signal level control function
US5691605A (en) * 1995-03-31 1997-11-25 Philips Electronics North America Electronic ballast with interface circuitry for multiple dimming inputs
WO1999019808A1 (en) * 1997-10-16 1999-04-22 Int Labs, Inc. Data transfer over wire or wireless medium
US6567474B1 (en) * 1999-03-02 2003-05-20 Phonex Corporation Digital wireless phone/modem jack capable of communications over the power lines using differential binary phase shift keying (DBPSK)
CN1172465C (en) * 2001-10-11 2004-10-20 华为技术有限公司 Warning circuit for losing real time detection signal and its implement method
JP4254492B2 (en) * 2003-11-07 2009-04-15 ソニー株式会社 Data transmission system, data transmission device, data reception device, data transmission method, data transmission method, and data reception method
US7157896B2 (en) * 2004-08-11 2007-01-02 A. W. Sperry Instruments, Inc. Device for locating and identifying circuit breakers
CN1886018B (en) * 2006-05-30 2010-05-12 浙江大学 Intelligent lighting system based on wireless RF technique and power line carrier technique
US8049709B2 (en) * 2007-05-08 2011-11-01 Cree, Inc. Systems and methods for controlling a solid state lighting panel
JP4925993B2 (en) * 2007-10-11 2012-05-09 日本電信電話株式会社 Receiver and transceiver
CN101667242B (en) * 2008-09-05 2013-08-28 华为技术有限公司 Back-off method and back-off device, and method and device for detecting radio-frequency identification signal state
TWI423725B (en) * 2009-11-26 2014-01-11 My Semi Inc Decoding circuit and decoding method thereof
US20140074761A1 (en) * 2012-05-30 2014-03-13 Qualcomm Incorporated Dynamical event neuron and synapse models for learning spiking neural networks
CN103944608B (en) * 2013-01-22 2016-08-24 浙江大华技术股份有限公司 Analog signal extraction element, square-wave signal extraction element and signal separation system
US9331739B1 (en) * 2013-12-17 2016-05-03 Microsemi Storage Solutions (U.S.), Inc. System and method for transmitting ancillary data
CN103763833B (en) * 2014-01-23 2016-03-16 中达电通股份有限公司 A kind of control method and system controlling LED street lamp based on supply line
CN104954046B (en) * 2014-03-31 2017-08-04 华为技术有限公司 A kind of transmission method and device based on power line communication
CN205029951U (en) * 2015-10-27 2016-02-10 杭州中恒派威电源有限公司 Cross zero carrier wave and transfer optical communication system
CN105450263A (en) * 2015-12-01 2016-03-30 北京中宸泓昌科技有限公司 Constant voltage output circuit closed loop method and system
CN105588570B (en) * 2015-12-16 2019-03-26 中国空间技术研究院 A kind of large capacity and the wireless data transmission acquisition system with time stamp
US10218277B2 (en) * 2016-02-22 2019-02-26 The Boeing Company Adaptable high efficiency power inverter system
CN107507561B (en) * 2017-09-27 2022-12-13 宗仁科技(平潭)有限公司 LED control chip and LED system
CN108463027A (en) * 2018-02-11 2018-08-28 深圳市梓晶微科技有限公司 A kind of LED control chips of power delivery signal
CN109600151A (en) * 2018-11-08 2019-04-09 宏力照明集团有限公司 Highly reliable power supply phase line communication method of sending and receiving and communication device
CN209419485U (en) * 2019-01-14 2019-09-20 泉芯电子技术(深圳)有限公司 Booster system response speed translation circuit based on PFM control

Also Published As

Publication number Publication date
WO2021134653A1 (en) 2021-07-08
CN111226506B (en) 2022-07-26
CN111226506A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
US20090289578A1 (en) Parallel type single-wire addressable lighting device
CN107580394B (en) Driving chip, driving method, lighting circuit and lighting system
US8324824B2 (en) 1-wire communication protocol and interface circuit
US20110082957A1 (en) Slave device for an iic bus communication system capable of supressing freeze of iic bus communication
US9031807B2 (en) Motherboard testing apparatus
CN102800279B (en) Addressable display drive method in parallel and system thereof
US20190306938A1 (en) Configurable Switch Array
US20240172351A1 (en) LED control system
CN211630454U (en) Power carrier signal identification circuit and integrated circuit chip
US20230049359A1 (en) Identification circuit and method for power-line carrier signal, and integrated circuit chip
US10537000B2 (en) Controller, light source driving circuit and method for controlling light source module
US11085620B2 (en) Carry-signal controlled LED light with low power consumption and LED light string having the same
US9128504B2 (en) Signal generation circuit, method of operating a signal generation circuit, and device for generating an output voltage
CN111918454B (en) LED control chip for transmitting data through power line
CN101617301A (en) Integrated circuit and electron device
US20070094425A1 (en) Riser card identification system
US20140145641A1 (en) Single Wire Signal Process Method and Circuit
CN106155964B (en) Use the address coding/decoding method and system in the system of serial data transfer bus
US20170004704A1 (en) Infrared emission and reception circuit and method of implementing the same
US10973099B1 (en) Carry-signal controlled LED light with fast discharge and LED light string having the same
KR20140127767A (en) Semiconductor device
US20130028338A1 (en) 1-Wire Communication Protocol and Interface Circuit for High Voltage Applications
US20220316665A1 (en) Light-emitting diode light string control system with carrier identification function and signal identification method thereof
US20240213963A1 (en) Pull-up voltage detection circuit and pull-up voltage detection method
US20160335213A1 (en) Motherboard with multiple interfaces

Legal Events

Date Code Title Description
AS Assignment

Owner name: CR TECHNOLOGY (PINGTAN) CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ZOU, YUNGEN;LU, YULING;QIAO, SHICHENG;AND OTHERS;REEL/FRAME:060650/0304

Effective date: 20220601

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER