CN204241562U - A kind of frequency detection circuit based on LPC2132 microcontroller - Google Patents
A kind of frequency detection circuit based on LPC2132 microcontroller Download PDFInfo
- Publication number
- CN204241562U CN204241562U CN201420694395.5U CN201420694395U CN204241562U CN 204241562 U CN204241562 U CN 204241562U CN 201420694395 U CN201420694395 U CN 201420694395U CN 204241562 U CN204241562 U CN 204241562U
- Authority
- CN
- China
- Prior art keywords
- module
- mcu
- signal
- led display
- resistance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Measuring Frequencies, Analyzing Spectra (AREA)
- Measurement Of Current Or Voltage (AREA)
Abstract
The utility model relates to a kind of frequency detection circuit based on LPC2132 microcontroller, and this circuit is made up of power module (1), sampling module (2), MCU module (3) and LED display module (4); The utility model can detect fast line frequency, show, sensing range 0 ~ 1000Hz, 30 ~ 500VAC, fast response time ms level, use power supply 220VAC, there is the advantages such as energy consumption is low, cost is few, volume is little, lightweight, isolation detection, reliability are high, non-maintaining, resistance against physical impact.The utility model is applicable to line frequency detection field.
Description
Technical field
The utility model relates to electronic circuit technology, particularly relates to a kind of frequency detection circuit based on LPC2132 microcontroller.
Background technology
Along with the development of society and the progress of technology, chemical plant automaticity is more and more higher, frequency conversion application is also very universal, therefore needs to detect fast line frequency, need develop practical line frequency testing circuit reliably to realize the function such as frequency detecting, display.
Summary of the invention
The utility model is intended to detect fast line frequency, provides practical line frequency testing circuit reliably.
The technical solution adopted in the utility model: a kind of frequency detection circuit based on LPC2l32 microcontroller, is characterized in that being made up of power module, sampling module, MCU module and LED display module; Described power module adopts 220VAC to power, and be made up of transformer, commutation diode, switching power source chip, electric capacity, resistance, inductance, the direct supply that 220VAC is converted to needed for system by power module is powered to whole circuit; Described signal sampling module is made up of resistance, voltage stabilizing diode, light-coupled isolation switch, resistance, and signal sampling module is carried out conditioning to detection signal and is transformed into the discernible signal of MCU; Described MCU module is primarily of LPC2132 microcontroller, crystal oscillator, electric capacity, resistance composition, and MCU module calculates real-time frequency according to the signal of input and output signal arrives LED display module; Described LED display module is primarily of LED drive chip, charactron, resistance composition, and the signal that LED display module exports according to MCU shows real-time frequency.
Components and parts needed for the above all adopt existing matured product on market.
The utility model beneficial effect: the utility model achieves frequency detecting function, can detect fast line frequency, show, wide 0 ~ the 1000Hz of sensing range, 30 ~ 500VAC, response speed ms level, power supply 220VAC, has that energy consumption is low, cost is few, volume is little, lightweight, reliability is high, an advantage such as non-maintaining, resistance against physical impact.
The utility model is applicable to line frequency detection field.
Accompanying drawing explanation
Fig. 1 is the utility model system chart;
Fig. 2 is the utility model power module circuitry schematic diagram;
Fig. 3 is the utility model signal sampling modular circuit schematic diagram;
Fig. 4 is the utility model MCU(microcontroller) modular circuit schematic diagram;
Fig. 5 is the utility model LED display module circuit theory diagrams;
Fig. 6 is the utility model power module structure figure;
Fig. 7 is the utility model sampled signal conditioning figure;
In accompanying drawing: 1, power module; 2, sampling module; 3, MCU module; 4, LED display module.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the utility model is described in further detail.
embodiment:
One of the utility model embodiment, as shown in Figure 1: a kind ofly comprise power module 1, sampling module 2, MCU module 3 and LED display module 4 based on the frequency detection circuit based on LPC2l32 microcontroller; The direct supply that 220VAC is converted to needed for system by power module 1 is powered to whole circuit, signal sampling module 2 pairs of detection signals carry out conditioning and are transformed into the discernible signal of MCU, MCU module 3 calculates real-time frequency according to the signal of input and output signal arrives LED display module 4, and the signal that LED display module 4 exports according to MCU shows real-time frequency.
As shown in Figure 2 and Figure 6: described power module 1 adopts 220VAC to power, and is made up of transformer, commutation diode, switching power source chip, electric capacity, resistance, inductance; The transformer that 220VAC is 220:19 by no-load voltage ratio obtains 19VDC again after full-bridge rectification/filtering, then obtains the 3.3VDC power supply needed for system by LM2675M-3.3.
As shown in Figure 3 and Figure 7: described sampling module 2 is made up of resistance, voltage stabilizing diode, light-coupled isolation switch, resistance; Sampled signal forms the square wave that a peak value is 4.7V after anti-series diode; Carry out after signal isolation, nursing one's health into the thief hatch that the discernible 3.3V signal of MCU enters MCU through optocoupler.
As shown in Figure 4: described MCU(microcontroller) module 3 is made up of low-cost and high-performance single-chip microcomputer (LPC2132) and peripheral circuit thereof.Sampled signal is calculated, draws real-time frequency, and output corresponding signal is to LED display module 4.The account form of sampled signal interrupts counting method: namely in the operational process of program, when detection signal occurs that (namely signal becomes 0V from 3.3VDC to negative edge, time as shown in Figure 7) MCU just enter interruption carry out counting add up, then by negative edge in 1S, (namely signal becomes 0V from 3.3VDC, and cumulative number as shown in Figure 7) calculates real-time frequency.
As shown in Figure 5: described LED display module 4 is made up of LED drive chip, charactron, resistance etc., and its function is by the output signal according to MCU, the real-time frequency detected by numeral method.
The course of work of the present utility model: as shown in Figure 1 the 220VAC of system is accessed power interface, need detect the signal access Sampling Interface of frequency.
Claims (1)
1., based on a frequency detection circuit for LPC2l32 microcontroller, it is characterized in that being made up of power module, sampling module, MCU module and LED display module; Described power module adopts 220VAC to power, and be made up of transformer, commutation diode, switching power source chip, electric capacity, resistance, inductance, the direct supply that 220VAC is converted to needed for system by power module is powered to whole circuit; Described sampling module is made up of resistance, voltage stabilizing diode, light-coupled isolation switch, resistance, and sampling module carries out conditioning to detection signal and is transformed into the discernible signal of MCU; Described MCU module is primarily of LPC2132 microcontroller, crystal oscillator, electric capacity, resistance composition, and MCU module calculates real-time frequency according to the signal of input and output signal arrives LED display module; Described LED display module is primarily of LED drive chip, charactron, resistance composition, and the signal that LED display module exports according to MCU shows real-time frequency.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420694395.5U CN204241562U (en) | 2014-11-19 | 2014-11-19 | A kind of frequency detection circuit based on LPC2132 microcontroller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201420694395.5U CN204241562U (en) | 2014-11-19 | 2014-11-19 | A kind of frequency detection circuit based on LPC2132 microcontroller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN204241562U true CN204241562U (en) | 2015-04-01 |
Family
ID=52771043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201420694395.5U Active CN204241562U (en) | 2014-11-19 | 2014-11-19 | A kind of frequency detection circuit based on LPC2132 microcontroller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN204241562U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112269056A (en) * | 2020-10-10 | 2021-01-26 | 许继电气股份有限公司 | Hardware frequency measurement circuit of high-voltage variable-frequency relay protection device |
-
2014
- 2014-11-19 CN CN201420694395.5U patent/CN204241562U/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112269056A (en) * | 2020-10-10 | 2021-01-26 | 许继电气股份有限公司 | Hardware frequency measurement circuit of high-voltage variable-frequency relay protection device |
CN112269056B (en) * | 2020-10-10 | 2024-04-12 | 许继电气股份有限公司 | Hardware frequency measurement circuit of high-voltage variable-frequency relay protection device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN207675825U (en) | A kind of zero cross detection circuit | |
CN204241562U (en) | A kind of frequency detection circuit based on LPC2132 microcontroller | |
CN203492673U (en) | Intelligent shutoff noodle maker | |
CN208588774U (en) | Voltage detecting circuit based on capacitor charge and discharge and electric resistance partial pressure | |
CN106209050A (en) | A kind of electronic switching circuit of low cost low-power consumption | |
CN202383594U (en) | Singlechip reset circuit | |
CN202209993U (en) | Warehouse humiture monitoring alarm device | |
CN204615633U (en) | Power supply circuit | |
CN104198804A (en) | Intelligent current data acquisition method and device based on wireless technology | |
CN204030653U (en) | There is the charging electric vehicle module of battery detection function | |
CN203705517U (en) | Voltage detection circuit, circuit board provided with same, heating equipment and electric heating product | |
CN201697988U (en) | Fan state detection circuit | |
CN105656381A (en) | General AC motor driving detection system | |
CN205945681U (en) | Electronic switching circuit of low -cost low -power consumption | |
CN204359811U (en) | The novel rotating speed measurement mechanism of Synchronous generator | |
CN208706362U (en) | A kind of 380V electricity permanent magnetic controller device of simple low-power consumption | |
CN204256417U (en) | Ultrasonic listening water control device | |
CN204854807U (en) | Display module is gathered to humiture | |
CN208636374U (en) | A kind of a-c cycle detection circuit | |
CN204304861U (en) | A kind of general AC motor drives detection system | |
CN204795702U (en) | Multi -functional LED drive power supply | |
CN204087116U (en) | The Controls Palette of the large touch-screen of a kind of ultrasonic Doppler method diagnostic equipment band | |
CN204789840U (en) | Condenser quality evalution appearance | |
CN205375105U (en) | An electric power singlechip key switch circuit | |
CN205317830U (en) | But remote control SOE measuring signal generator based on NRF |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |