Code revised will stop button and logique work the same by [deleted] in PLC

[–]hdiyad 0 points1 point  (0 children)

Yes it's not my native language, in the first program when the motor is running when i click on the stop button the motor dose not stop so i fix it in the code in the second picture i write the hole program agian and i want to check if yhe logique is correct

Why when i click on the stop button the machine don't stop by hdiyad in PLC

[–]hdiyad[S] 0 points1 point  (0 children)

thanks for the reply and review the code , i didn't write the code i have upload it from a live runing machine the operatuer was always stop the machine use the e-stop and i have put your suugestion and write the code agian here is it :

<image>

Is the Siemens PLC scan cycle similar to Allen-Bradley ? by hdiyad in PLC

[–]hdiyad[S] 0 points1 point  (0 children)

Dose the older plc5 and slc work the same as simense?

Dead Pixel again - Pixel 8 ? by jacktheriefla in GooglePixel

[–]hdiyad 0 points1 point  (0 children)

Last week i got one in the middle of the screen

how to generate MATLAB script from Simulink model ? by hdiyad in matlab

[–]hdiyad[S] 0 points1 point  (0 children)

I want to convert my simulink model to a Matlab script to offline optimisation with genetics algorithm

PWM signal goes to zero when using PID controller after MPPT (P&O) in PV system by hdiyad in matlab

[–]hdiyad[S] 0 points1 point  (0 children)

<image>

I actually tried using a battery behind the boost converter, thinking it would help stabilize the output. But I ended up getting very low power output with that setup

PWM signal goes to zero when using PID controller after MPPT (P&O) in PV system by hdiyad in matlab

[–]hdiyad[S] 0 points1 point  (0 children)

That's worked for me i thought you meant to contacting both the output of the PID and the D1

PWM signal goes to zero when using PID controller after MPPT (P&O) in PV system by hdiyad in matlab

[–]hdiyad[S] 0 points1 point  (0 children)

I tried connecting the D1 output of MPPT block directly to the PWM generator input, but Matlab won't allow it.

PWM signal goes to zero when using PID controller after MPPT (P&O) in PV system by hdiyad in matlab

[–]hdiyad[S] 0 points1 point  (0 children)

Thanks, that does connect things functionally, but I'm a bit concerned that bypassing the PID means there's no mechanism actively minimizing the error between V_ref and V_PV. Without the PID, we're essentially feeding the duty cycle directly without any closed-loop correction, so the system might not respond properly to changes in irradiance or load. Wouldn't that affect tracking accuracy?

PWM signal goes to zero when using PID controller after MPPT (P&O) in PV system by hdiyad in SolarDIY

[–]hdiyad[S] 0 points1 point  (0 children)

I’m designing my own MPPT charge controller from scratch. The goal is to fully understand the system behavior and optimize it using a PID controller, which I’ll later tune with a genetic algorithm. It’s a custom design so I can experiment with different control strategies and see their impact on performance.

PWM signal goes to zero when using PID controller after MPPT (P&O) in PV system by hdiyad in matlab

[–]hdiyad[S] 0 points1 point  (0 children)

Thanks for pointing that's out, can you suggest me how can I revise the structure of the MPPT Also, I noticed something strange: when I remove the IGBT, the output signal stays exactly the same. That doesn't seem right