DIY编程器网

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 346|回复: 0
打印 上一主题 下一主题

[工仪] 电流表电压表+液晶面板电路,Voltmeter + Amme

[复制链接]
跳转到指定楼层
楼主
发表于 2011-5-29 14:00:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
电流表电压表+液晶面板电路,Voltmeter + Ammeter LCD panel



Introduction

--------------------------------------------------------------------------------

This multimeter was designed to measure output voltage and current in a PSU, where the current sense shunt resistor is connected in series with load at the negative voltage rail. It needs only one supply voltage that can be acquired from main PSU. An additional function of the multimeter is that it can control (switch on and off) an electric fan used to cool the main heatsink. The power threshold at which the fan switches on can be adjusted using One Touch Button Setup.
Technical Specifications

single uC ATMEL ATmega8 used to handle all the multimeter functions.
voltage range 0-30V.
voltage measure resolution 10mV.
current measure resolution 10mA (depended on current sense resistor value).
single, non isolated voltage supply.
one side PCB.
compact construction allowed to use the multimeter as panel meter.
compatibility with standard LCDs based on HD44780 controller.
Schematic
------------------------------------------------------------------------------
Bellow you can see the multimeter schematic. There are some components in the parts list marked as "Do Not Assemble". That components was needed in a previous software edition. Current software version doesn't need them, so you just don't add them. Maybe in a future version of the multimeter there will be a simpler PCB with simpler electronic diagram too.



click image for higher resolution

PCB

--------------------------------------------------------------------------------


PCB files are >herehere< .It is assumed that ?C is new and works with its internal RC clock at 1MHz. If not, set appropriate fuse bits to achieve above mentioned conditions. In addition Brown-out detector should be turned on by enabling BODEN fuse. Recommended Brown-out Reset Threshold Voltage is 4V.
The next thing to do is to cross LCD soldering pads number 1 and 5. That's necessary to provide ground for LCD RW signal. After all, connect LCD module with the multimeter PCB. It is recommended to use a detachable connector for further expandability e.g. software upgrading.
Installation in PSU and Regulation
Mount multimeter to PSU according to the diagram below:



Connectors and regulation elements

--------------------------------------------------------------------------------


ELEMENT ACTION
S1 Setup button
When pushing this button the shunt resistor value appears. If the resistor value is known, repeat button pushing until correct value reached. If resistor value is unknown (e.g. self made resistor), short PSU output by ammeter, set some current by PSU current limit regulator and then, push button, lead to equal current indication on ammeter and multimeter.
After resistor value setup, button must not be pressed for about 5 seconds. The next parameter to set up is fan switch-on power threshold. It is not the real power loosed on output transistor (transistors), because multimeter has information on voltage drop on transistor and driving current. To avoid instability switch-off threshold is automatically set to 20% less than switch-on one.
R9 Fine voltage circuit regulation potentiometer.
To reduce ADC conversion errors like un-linearity, gain factor etc. measuring range is divided into two sub-ranges 0-10V and 10-30V (switch threshold can be between 7-13V depend on sourcing current and elements tolerance).
To regulate fine sub-range connect voltmeter to PSU output, set up voltage at about 9V and turn R9 until voltmeter and multimeter indications are equal.
R10 Coarse voltage circuit regulation potentiometer..
There is over-sampling applied in multimeter software, so measuring resolution is the same in fine and coarse circuit and is 10mV. Because of the reason described above multimeter has two measuring circuits.
To regulate coarse sub-range connect voltmeter to PSU output, set up voltage at about 19V and turn R10 until voltmeter and multimeter indication are equal. (If you posses 4.5 digit voltmeter, you could regulate at voltage 30V)
R3 LCD contrast potentiometer. Turn that potentiometer first, if nothing is visible on LCD.
J1 Fan connector.
Pin no. 1: Fan "+"
Pin no. 2: Fan "-"
J2 +12V
If +12V DC is available in your PSU, connect it to that pin. In that case you shouldn't assemble +12V voltage regulator U2 on PCB.
That solution is convenient for multimeter, because eliminates U2 heating and permit to connect fan and LCD with higher current consumption.
If you haven't got +12V DC in your PSU, left that pin unconnected.
J3 +35V
Rectifier bridge voltage. See U2 element you used data sheet to know about maximum voltage it can work properly. On the other hand the minimum voltage on that pin mustn't drop bellow c.a. 9V, or 6.5V if low drop type U2 and U3 voltage regulators were used.
That pin should be connected even if +12V DC is connected to J2 pin. Voltage from that pin deliver information for fan switching.
J4 Measuring signal connector.
Multimeter is suitable for voltage and current measurement in PSU, where current sense shunt resistor is connected in series with load and is in negative rail.
Pin no.1: voltage measurement U - connect to "+" PSU output, best directly to output terminal;
Pin no.2: current measurement I - connect to "-" PSU output, best directly to output terminal;
Pin no.3: ground - connect to shunt resistor terminal opposite to that connected to "-" PSU output.
LCD LCD connector.
Multimeter works properly with LCD's 1x16 logical controlled as 2x8 (most of LCD's available on the market).
Because of linear voltage regulators used in multimeter, sourcing current is limited. Main current consumption elements are fan and LCD backlight, s
- use LCD with LED backlight (typically current consumption is less than 15mA);
- use low speed, low current fan. Additional advantage of that solution will be silence.
Miscellaneous

--------------------------------------------------------------------------------

I this picture you can see the multimeter module installed along with 0-30 VDC STABILIZED POWER SUPPLY WITH CURRENT CONTROL 0.002-3A, presented under projects section.
Original design page located here: http://elfly.pl/multimetr/multimetr_en.htm

Warnings

--------------------------------------------------------------------------------

CAUTION
This circuit itself doesn't work off the mains and there are not 220 VAC present, but PSU does.
Voltages above 50 V are DANGEROUS and could even be LETHAL.
In order to avoid accidents that could be fatal to you or members of your family please observe the following rules:
DO NOT work if you are tired or in a hurry, double check every thing before connecting your circuit to the mains and be ready to disconnect it if something looks wrong.
DO NOT touch any part of the circuit when it is under power.
DO NOT leave mains leads exposed. All mains leads should be well insulated.
DO NOT change the fuses with others of higher rating or replace them with wire or aluminium foil.
DO NOT work with wet hands.
If you are wearing a chain, necklace or anything that may be hanging and touch an exposed part of the circuit BE CAREFUL.
ALWAYS use a proper mains lead with the correct plug and earth your circuit properly.
If the case of your project is made of metal make sure that it is properly earthen.
If it is possible use a mains transformer with a 1:1 ratio to isolate your circuit from the mains.
When you are testing a circuit that works off the mains wear shoes with rubber soles, stand on dry non conductive floor and keep one hand in your pocket or behind your back.
If you take all the above precautions you are reducing the risks you are taking to a minimum and this way you are protecting yourself and those around you.
A carefully built and well insulated device does not constitute any danger for its user.
BEWARE: ELECTRICITY CAN KILL IF YOU ARE NOT CAREFUL
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享分享 支持支持 反对反对
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|文字版|手机版|DIY编程器网 ( 桂ICP备14005565号-1 )

GMT+8, 2024-5-18 11:40 , 耗时 0.098148 秒, 19 个查询请求 , Gzip 开启.

各位嘉宾言论仅代表个人观点,非属DIY编程器网立场。

桂公网安备 45031202000115号

DIY编程器群(超员):41210778 DIY编程器

DIY编程器群1(满员):3044634 DIY编程器1

diy编程器群2:551025008 diy编程器群2

QQ:28000622;Email:libyoufer@sina.com

本站由桂林市临桂区技兴电子商务经营部独家赞助。旨在技术交流,请自觉遵守国家法律法规,一旦发现将做封号删号处理。

快速回复 返回顶部 返回列表