CN102378456A - System for realizing data acquisition and processing on illuminator by utilizing microcontroller - Google Patents

System for realizing data acquisition and processing on illuminator by utilizing microcontroller Download PDF

Info

Publication number
CN102378456A
CN102378456A CN2011103736333A CN201110373633A CN102378456A CN 102378456 A CN102378456 A CN 102378456A CN 2011103736333 A CN2011103736333 A CN 2011103736333A CN 201110373633 A CN201110373633 A CN 201110373633A CN 102378456 A CN102378456 A CN 102378456A
Authority
CN
China
Prior art keywords
voltage
microcontroller
signal
resistance
current
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
CN2011103736333A
Other languages
Chinese (zh)
Inventor
王铭宇
詹红军
梁熹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Huati Lighting Industry Co Ltd
Original Assignee
Sichuan Huati Lighting Industry 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 Sichuan Huati Lighting Industry Co Ltd filed Critical Sichuan Huati Lighting Industry Co Ltd
Priority to CN2011103736333A priority Critical patent/CN102378456A/en
Publication of CN102378456A publication Critical patent/CN102378456A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention relates to a system for realizing data acquisition and processing on an illuminator by utilizing a general-purpose analog to digital converter of a microcontroller. The system is characterized in that acquiring and processing processes on data such as current, voltage, power and the like are completed by utilizing the general-purpose analog to digital converter of the microcontroller. The system mainly comprises a voltage acquiring circuit module, an overvoltage protection circuit module, a current acquisition I/V conversion circuit module, a signal amplifying circuit module, an A/D conversion circuit module and a signal processing module. In the invention, an electric quantity metering functional circuit is added into a power supply control loop, a user can know whether working condition of each lamp is normal or not in real time, early warning can be carried out in advance, worse condition can be avoided, failure warning can be carried out in real time if a fault is caused, and type of the fault can be prompted to the user; meanwhile, the system can judge the type of the fault according to acquired data, a maintenance suggesting scheme is provided, and management efficiency is improved.

Description

Utilize microcontroller to realize the data acquisition and the treatment system of illumination apparatus
Technical field
The present invention relates to a kind of data acquisition and treatment system of utilizing microcontroller to realize illumination apparatus, belong to voltage, electric current, power measurement field and the embedded control system field of alternating current.
?
Background technology
Sometimes we may be urgent in the use of light fixture wonders the wherein operating state of a light fixture in numerous light fixtures; Like the operating voltage of light fixture, operating current, active power, apparent power, electric weight etc.; So that we understand the operating state of light fixture and better manage light fixture, the present invention designs in order to address these problems.In traditional illuminator, do not have the parameter measuring equipment in the single light fixture at all, general only in the consumer unit of a circuit, use an electric energy meter measure in the line on the electric weight of all light fixtures, have no idea to understand the electrical quantity of single light fixture at all.
 
Summary of the invention
To the problems referred to above, the present invention provides a kind of data acquisition and treatment system of utilizing microcontroller to realize illumination apparatus.The present invention can carry out early warning in advance, avoids the generation of worse situation, if break down; Then can real time fail report to the police, and which type fault the prompting user be, and system can carry out fault type according to the data that collect and differentiates; Provide the maintenance proposed projects, improve the efficiency of management.
The technical scheme that the present invention adopts is following:
A kind of data acquisition and treatment system of utilizing the common analog-to-digital converter realization illumination apparatus of microcontroller; It is characterized in that using the common analog-to-digital converter of microcontroller to accomplish to electric current; Voltage; The collection of data such as power and processing procedure, this system mainly are made up of voltage collection circuit module, overvoltage crowbar module, current acquisition I/V change-over circuit module, signal amplification circuit module and A/D change-over circuit module and signal processing module.
Said voltage collection circuit converts the supply voltage of light fixture to low voltage signal that microcontroller can be discerned, then this signal is delivered to the AN1 pin of microcontroller; Voltage collection circuit and overvoltage crowbar have comprised resistance R 1, R2, R3, R4, the R6 of dividing potential drop effect, convert the 220V alternating voltage to the 2.4V alternating current; Resistance R 5, R6 are provided with a static direct current working point for the voltage signal of sampling; Let the 2.4V alternating voltage on the static direct current working point of 2.5V, change up and down; The upper end of resistance R 5 connects the positive VDD5 utmost point of DC reference voltage of 5V; The lower end of resistance R 6 connects the ground Line_Com of 5V DC reference voltage, so because the identical MIC_VOLTAGE1 voltages at nodes of resistance of resistance R 5, R6 is direct current 2.5V; The diode D1, the D2 that play the overvoltage protection effect let MIC_VOLTAGE1 voltages at nodes fluctuation range all the time between negative 0.7V and positive 5.7V, to prevent overtension damage microcontroller.
Said electric current I/V change-over circuit converts the operating current of light fixture to the correspondent voltage signal; Be convenient to the computing that microprocessor carries out the later stage; In the light fixture loop, be connected in series the resistance R 7 of a shunt effect; Because resistance value is fixed, so the operating current of light fixture just can come correspondence by the voltage on the resistance R 7, this voltage signal is transferred to by node LED_OUT and goes to carry out the later stage signal processing in the signal amplification circuit in circuit.
Said signal amplification circuit amplifies the signal that electric current I/the V change-over circuit collects, and delivers to the AN0 pin of microcontroller then.
The digital signal that said microcontroller circuit becomes microcontroller to discern the analog signal conversion of the voltage and current that collects; Digital signal after the conversion is gone out the parameter values such as operating frequency of actual loaded work piece voltage, operating current, power, electric weight, circuit through computed in software; The RX pin of these parameter values through serial ports is transferred to communication apparatus, and sends the user to by communication apparatus and use.
The present invention has realized the isoparametric collection of power, electric current, voltage, electric weight to light fixture, and with these parameters through communication network device real-time pass control centre back.Can let the operating state of each light fixture of user real time grasp whether normal through in the power supply control loop, adding the electric quantity metering functional circuit, can carry out early warning in advance, avoid the generation of worse situation; If break down; Then can real time fail report to the police, and which type fault the prompting user be, and system can carry out fault type according to the data that collect and differentiates; Provide the maintenance proposed projects, improve the efficiency of management.
?
Description of drawings
Fig. 1 is a structured flowchart of the present invention.
Fig. 2 is signal processing microcontroller circuit figure.
Fig. 3 is load current I/V change-over circuit figure.
Fig. 4 is load voltage sample circuit and overvoltage crowbar figure.
Fig. 5 is signal amplification circuit figure.
 
Embodiment
Disclosed all characteristics in this specification, or the step in disclosed all methods or the process except mutually exclusive characteristic and/or the step, all can make up by any way.
Disclosed arbitrary characteristic in this specification (comprising any claim, summary and accompanying drawing) is only if special narration all can be replaced by other equivalences or the alternative features with similar purpose.That is, only if special narration, each characteristic is an example in a series of equivalences or the similar characteristics.The description to alternative features is to being equal to the description of technical characterictic, must not being regarded as the donation to the public in this specification simultaneously.
Term in this specification (comprising any claim, summary and accompanying drawing) like no specified otherwise, all is defined as the peculiar implication in this area if having the peculiar implication of general sense and this area simultaneously.
As shown in Figure 1; The present invention relates to a kind of data acquisition and treatment system of utilizing the common analog-to-digital converter realization illumination apparatus of microcontroller; It is characterized in that using the common analog-to-digital converter of microcontroller to accomplish to electric current; Voltage, the collection of data such as power and processing procedure, this system mainly are made up of voltage collection circuit module, overvoltage crowbar module, current acquisition I/V change-over circuit module, signal amplification circuit module and A/D change-over circuit module and signal processing module.
As shown in Figure 4; The effect of voltage collection circuit is that the supply voltage with light fixture converts the low voltage signal that microcontroller can be discerned to; Then this signal is delivered to the AN1 pin of microcontroller; Circuit shown in accompanying drawing four, this partial circuit mainly by divider resistance R1, R2, R3, R4, R6 form, these several resistance play a dividing potential drop, purpose is to convert the 220V alternating voltage to the 2.4V alternating current; The effect of resistance R 5, R6 is for the voltage signal of giving sampling a static direct current working point to be set; Let the 2.4V alternating voltage on the static direct current working point of 2.5V, change up and down; The VDD5 that the upper end of resistance R 5 connects is that the DC reference voltage of 5V is anodal; The Line_Com that the lower end of resistance R 6 connects is the ground of 5V DC reference voltage; So because the identical MIC_VOLTAGE1 voltages at nodes of resistance of resistance R 5, R6 is direct current 2.5V, capacitor C 1 plays jamproof effect here, diode D1, D2 here have been the effects of overvoltage protection; Let MIC_VOLTAGE1 voltages at nodes fluctuation range all the time between negative 0.7V and positive 5.7V, can prevent that like this overtension from damaging microcontroller.
As shown in Figure 3; The effect of said electric current I/V change-over circuit is that the operating current with light fixture converts the correspondent voltage signal to, is convenient to the computing that microprocessor carries out the later stage, and circuit is shown in accompanying drawing three; In the light fixture loop, be connected in series resistance R 7; This resistance plays a shunt in this circuit, it is to equal this principle that electric current multiply by resistance value according to voltage in the female law in Europe to design, in circuit since resistance value fix; So it is corresponding that the operating current of light fixture just can be come by the voltage on the resistance R 7, this voltage signal is transferred to by node LED_OUT and goes to carry out the later stage signal processing in the signal amplification circuit.
As shown in Figure 5; The effect of said signal amplification circuit is that the signal that electric current I/the V change-over circuit collects is amplified, and delivers to the AN0 pin of microcontroller then, and circuit is shown in accompanying drawing five; This amplifier works in the homophase amplification mode, and the circuit multiplication factor is that 10 times of input signals add 2.5V.
As shown in Figure 2, said microcontroller circuit has three effects, and first effect is the digital signal that the analog signal conversion with the voltage and current that collects becomes microcontroller to discern.Second effect is the parameter values such as operating frequency that the digital signal after the conversion gone out actual loaded work piece voltage, operating current, power, electric weight, circuit through computed in software.The 3rd effect is that the RX pin of these parameter values through serial ports is transferred to communication apparatus, and sends the user to by communication apparatus and use.
The present invention has realized the isoparametric collection of power, electric current, voltage, electric weight to light fixture, and with these parameters through communication network device real-time pass control centre back.Can let the operating state of each light fixture of user real time grasp whether normal through in the power supply control loop, adding the electric quantity metering functional circuit, can carry out early warning in advance, avoid the generation of worse situation; If break down; Then can real time fail report to the police, and which type fault the prompting user be, and system can carry out fault type according to the data that collect and differentiates; Provide the maintenance proposed projects, improve the efficiency of management.

Claims (5)

1. a common analog-to-digital converter that utilizes microcontroller is realized the data acquisition and the treatment system of illumination apparatus; It is characterized in that using the common analog-to-digital converter of microcontroller to accomplish to electric current; Voltage; The collection of data such as power and processing procedure, this system mainly are made up of voltage collection circuit module, overvoltage crowbar module, current acquisition I/V change-over circuit module, signal amplification circuit module and A/D change-over circuit module and signal processing module.
2. system according to claim 1 is characterized in that said voltage collection circuit converts the supply voltage of light fixture to low voltage signal that microcontroller can be discerned, then this signal is delivered to the AN1 pin of microcontroller; Voltage collection circuit and overvoltage crowbar have comprised resistance R 1, R2, R3, R4, the R6 of dividing potential drop effect, convert the 220V alternating voltage to the 2.4V alternating current; Resistance R 5, R6 are provided with a static direct current working point for the voltage signal of sampling; Let the 2.4V alternating voltage on the static direct current working point of 2.5V, change up and down; The upper end of resistance R 5 connects the positive VDD5 utmost point of DC reference voltage of 5V; The lower end of resistance R 6 connects the ground Line_Com of 5V DC reference voltage, so because the identical MIC_VOLTAGE1 voltages at nodes of resistance of resistance R 5, R6 is direct current 2.5V; The diode D1, the D2 that play the overvoltage protection effect let MIC_VOLTAGE1 voltages at nodes fluctuation range all the time between negative 0.7V and positive 5.7V, to prevent overtension damage microcontroller.
3. system according to claim 1; It is characterized in that said electric current I/V change-over circuit converts the operating current of light fixture to the correspondent voltage signal; Be convenient to the computing that microprocessor carries out the later stage, in the light fixture loop, be connected in series the resistance R 7 of a shunt effect, in circuit, fix owing to resistance value; So it is corresponding that the operating current of light fixture just can be come by the voltage on the resistance R 7, this voltage signal is transferred to by node LED_OUT and goes to carry out the later stage signal processing in the signal amplification circuit.
4. system according to claim 1 is characterized in that said signal amplification circuit amplifies the signal that electric current I/the V change-over circuit collects, and delivers to the AN0 pin of microcontroller then.
5. system according to claim 1 is characterized in that the digital signal that said microcontroller circuit becomes microcontroller to discern the analog signal conversion of the voltage and current that collects; Digital signal after the conversion is gone out the parameter values such as operating frequency of actual loaded work piece voltage, operating current, power, electric weight, circuit through computed in software; The RX pin of these parameter values through serial ports is transferred to communication apparatus, and sends the user to by communication apparatus and use.
CN2011103736333A 2011-11-22 2011-11-22 System for realizing data acquisition and processing on illuminator by utilizing microcontroller Pending CN102378456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103736333A CN102378456A (en) 2011-11-22 2011-11-22 System for realizing data acquisition and processing on illuminator by utilizing microcontroller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103736333A CN102378456A (en) 2011-11-22 2011-11-22 System for realizing data acquisition and processing on illuminator by utilizing microcontroller

Publications (1)

Publication Number Publication Date
CN102378456A true CN102378456A (en) 2012-03-14

Family

ID=45796159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103736333A Pending CN102378456A (en) 2011-11-22 2011-11-22 System for realizing data acquisition and processing on illuminator by utilizing microcontroller

Country Status (1)

Country Link
CN (1) CN102378456A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103364075A (en) * 2012-03-31 2013-10-23 海洋王照明科技股份有限公司 Light fixture vibration detecting circuit, light fixture vibration detecting device and light fixture
CN111942271A (en) * 2019-05-14 2020-11-17 嘉兴海拉灯具有限公司 Safety circuit for car lamp and control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0301528A1 (en) * 1987-07-29 1989-02-01 Vitroselenia S.P.A. Monitoring and warning system for series fed runway visual aids
CN101170283A (en) * 2007-10-22 2008-04-30 深圳市和而泰电子科技有限公司 A voltage self-adapted commutation circuit
CN201773148U (en) * 2010-08-05 2011-03-23 广东雅达电子股份有限公司 Multi-loop alternating-current acquisition unit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0301528A1 (en) * 1987-07-29 1989-02-01 Vitroselenia S.P.A. Monitoring and warning system for series fed runway visual aids
CN101170283A (en) * 2007-10-22 2008-04-30 深圳市和而泰电子科技有限公司 A voltage self-adapted commutation circuit
CN201773148U (en) * 2010-08-05 2011-03-23 广东雅达电子股份有限公司 Multi-loop alternating-current acquisition unit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103364075A (en) * 2012-03-31 2013-10-23 海洋王照明科技股份有限公司 Light fixture vibration detecting circuit, light fixture vibration detecting device and light fixture
CN103364075B (en) * 2012-03-31 2017-10-24 海洋王照明科技股份有限公司 Light fixture vibration detection circuit, device and light fixture
CN111942271A (en) * 2019-05-14 2020-11-17 嘉兴海拉灯具有限公司 Safety circuit for car lamp and control method thereof
CN111942271B (en) * 2019-05-14 2022-12-20 嘉兴海拉灯具有限公司 Safety circuit for car lamp and control method thereof

Similar Documents

Publication Publication Date Title
CN105486971A (en) Short circuit and open circuit state detection circuit for secondary side winding of current transformer
CN204903690U (en) Direct current system generating line is to ground distributed capacitance grounding detection circuit
CN205317883U (en) Current transformer secondary side winding short circuit open -circuit condition detection circuitry
JP2018512561A (en) Apparatus for determining insulation resistance in PV generator and photovoltaic power generation facility
CN108226593B (en) Electric energy meter and electricity larceny prevention detection method thereof
CN104682471A (en) Battery charging and discharging control processing equipment and method
CN209224953U (en) High-voltage interlocking detection device and vehicle
CN102378456A (en) System for realizing data acquisition and processing on illuminator by utilizing microcontroller
CN201829922U (en) Alternating current and direct current overvoltage detecting and protecting circuit of relay tester
CN204903740U (en) Power detecting circuit
CN202488853U (en) System capable of realizing data acquisition and processing of lighting device via microcontroller
CN201886120U (en) Dynamic tester with function of isolating test signals and power supplies
CN103353566B (en) Battery for mimic channel equipment testing circuit in place
CN202975070U (en) Probe of oscilloscope
CN206440764U (en) Fall the single-phase electric meter that metering is remained to after zero line
CN202502131U (en) Voltage/current detecting circuit
CN204166120U (en) A kind of single-phase electric energy meter on-site pick-up unit
CN208999502U (en) A kind of intelligence adjustable battery group voltage analog device
CN204086191U (en) Humidity measuring circuit
CN103777145A (en) Storage battery intelligent monitoring and maintenance apparatus with functions of testing voltage and load discharge
CN103472345B (en) A kind of electrical equipment grounding line burn-in test circuit
CN206270411U (en) A kind of Micro Energy Lose analyzer based on Internet of Things
CN202351407U (en) Lithium battery pack and battery management system (BMS) micro-resistor measurement instrument thereof
CN205509603U (en) Double T L431 voltage monitoring circuit
CN103760412A (en) Single-chip microcomputer micro-power-consumption test system and method for leakage current of zinc oxide arrester

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: Double Road Shuangliu Southwest Airport Economic Development Zone in Sichuan city of Chengdu province Shuangliu County 610207 Sichuan Province three No. 580

Applicant after: SICHUAN HUATI LIGHTING TECHNOLOGY CO., LTD.

Address before: Double Road Shuangliu Southwest Airport Economic Development Zone in Sichuan city of Chengdu province Shuangliu County 610207 Sichuan Province three No. 580

Applicant before: Sichuan Huati Lighting Industry Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SICHUAN HUATI LIGHTING CORPORATION TO: SICHUAN HUATI LIGHTING INDUSTRY CO., LTD.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120314