Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lamp cannot dim by TRIAC when connect with PZEM 004T #123

Open
Kosaki01 opened this issue May 9, 2024 · 10 comments
Open

Lamp cannot dim by TRIAC when connect with PZEM 004T #123

Kosaki01 opened this issue May 9, 2024 · 10 comments

Comments

@Kosaki01
Copy link

Kosaki01 commented May 9, 2024

I have a triac-dimmer circuit like below with load is incandescent lamp, when i connect the N and L to 2 terminals of lamp, they cannot dim and work at max power - maximum brightness althought i just made they dim about 50% of max brightness.
image

How can i fix this? Pls give me some advice for this. Thank you so much.

@mandulaj
Copy link
Owner

Are you attaching the PZEM after the triac? If so, please attach it before the triac! The measurement will be the same.

@Kosaki01
Copy link
Author

image
Hi, you mean this right?

@mandulaj
Copy link
Owner

LOAD is your lamp right, and the Power Triac is connected in series with the AC Line.... Can you attach the PZEM here where the power comes in?
329289937-a748ce0b-79e9-43df-a979-2a895be9766f

@Kosaki01
Copy link
Author

Kosaki01 commented May 16, 2024

I tried, lamp can be dimmed, but the results pzem gave were wrong. They measure input's voltage value (220VAC power supply), not the voltage drop across load.

@mandulaj
Copy link
Owner

Ahh, but then if you are interested in the voltage, PZEM is not the right sensor to use! PZEM is good for measuring the power/energy! The AC input is a continuous sine wave, but the triac will chop it up (which is how it achieves the power modulation)

@Kosaki01
Copy link
Author

Yeah the main reason i used pzem is for measuring power, but with the fault of voltage, they cannot give right value of power :(

@mandulaj
Copy link
Owner

But if you do as I told you and attach the PZEM before the Triac and put the current probe around one of the wires, the power measurement should be done correctly. The PZEM will take the correct integrated product of voltage and current over time.

@Kosaki01
Copy link
Author

image
Yeah i did it, and i compared pzem's value with VOM's value, they had difference power and voltage value when lamp is dimmed, and same value when lamp is at max brighness - max power comsumption.

@mandulaj
Copy link
Owner

With your multimeter, did you measure voltage and current independently? Because if yes, their product is not the actual power for a AC system. A dimmed light will not have a power factor of 1. The Voltage and Current are not in phase! Thus if you only look at the magnitude of the Voltage and Current and their product, you won't get the Real power (There is some reactive power) https://en.wikipedia.org/wiki/AC_power

@Kosaki01
Copy link
Author

So if i measure with an oscilloscope, i will get the real power, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants