-
Notifications
You must be signed in to change notification settings - Fork 123
feat: Over-voltage monitor implementation in EVSEManager #1595
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
base: main
Are you sure you want to change the base?
Conversation
6053980 to
002042a
Compare
399af37 to
0c7e14b
Compare
ac31dda to
ad21486
Compare
| void OverVoltageMonitor::set_limits(double emergency_limit, double error_limit) { | ||
| emergency_limit_ = emergency_limit; | ||
| error_limit_ = error_limit; | ||
| limits_valid_ = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it is not verified if limits are plausible limits_valid is not needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theoretically update_voltage is not called before set_limits but to avoid potential false errors I would argue to leave it to be on the safe side. Not sure how in the future we need to change the flow and shielding checking against invalid limits is not necessary a bad thing.
d08682d to
01e1f3c
Compare
…VSEManager Implementation of an internal over-voltage monitor on top of the external one. This is a safety mechanism that reads the measured values received from over-voltage monitor and raises the over voltage faults (in case the external one is not reacting correctly). There 2 limits that can be set: an error and an emergency limit. In case of an voltage over the error limit, we are checking if this is just a very short peak or it will stay over 400ms (default value - configurable). If at the end of the 400ms we stayed above the error limit, we trigger the MREC50OverVoltage error. In case of an voltage over the emergency error, we trigger ASAP the MREC50OverVoltage fault.Implementation of an internal over-voltage monitor on top of the external one. This is a safety mechanism that reads the measured values received from over-voltage monitor and raises the over voltage faults (in case the external one is not reacting correctly). There 2 limits that can be set: an error and an emergency limit. In case of an voltage over the error limit, we are checking if this is just a very short peak or it will stay over 400ms (default value - configurable). If at the end of the 400ms we stayed above the error limit, we trigger the MREC50OverVoltage error. In case of an voltage over the emergency error, we trigger ASAP the MREC50OverVoltage fault. Signed-off-by: Florin Mihut <florinmihut1@gmail.com>
Signed-off-by: florinmihut <florinmihut1@gmail.com>
Signed-off-by: florinmihut <florinmihut1@gmail.com>
Signed-off-by: Piet Gömpel <pietgoempel@gmail.com>
Co-authored-by: Piet Gömpel <37657534+Pietfried@users.noreply.github.com> Signed-off-by: florinmihut <florinmihut1@gmail.com>
Co-authored-by: Piet Gömpel <37657534+Pietfried@users.noreply.github.com> Signed-off-by: florinmihut <florinmihut1@gmail.com>
Signed-off-by: Florin Mihut <florinmihut1@gmail.com>
Co-authored-by: Piet Gömpel <37657534+Pietfried@users.noreply.github.com> Signed-off-by: florinmihut <florinmihut1@gmail.com>
…VSEManager Implementation of an internal over-voltage monitor on top of the external one. This is a safety mechanism that reads the measured values received from over-voltage monitor and raises the over voltage faults (in case the external one is not reacting correctly). There 2 limits that can be set: an error and an emergency limit. In case of an voltage over the error limit, we are checking if this is just a very short peak or it will stay over 400ms (default value - configurable). If at the end of the 400ms we stayed above the error limit, we trigger the MREC50OverVoltage error. In case of an voltage over the emergency error, we trigger ASAP the MREC50OverVoltage fault.Implementation of an internal over-voltage monitor on top of the external one. This is a safety mechanism that reads the measured values received from over-voltage monitor and raises the over voltage faults (in case the external one is not reacting correctly). There 2 limits that can be set: an error and an emergency limit. In case of an voltage over the error limit, we are checking if this is just a very short peak or it will stay over 400ms (default value - configurable). If at the end of the 400ms we stayed above the error limit, we trigger the MREC50OverVoltage error. In case of an voltage over the emergency error, we trigger ASAP the MREC50OverVoltage fault. Signed-off-by: Florin Mihut <florinmihut1@gmail.com>
…VSEManager Implementation of an internal over-voltage monitor on top of the external one. This is a safety mechanism that reads the measured values received from over-voltage monitor and raises the over voltage faults (in case the external one is not reacting correctly). There 2 limits that can be set: an error and an emergency limit. In case of an voltage over the error limit, we are checking if this is just a very short peak or it will stay over 400ms (default value - configurable). If at the end of the 400ms we stayed above the error limit, we trigger the MREC50OverVoltage error. In case of an voltage over the emergency error, we trigger ASAP the MREC50OverVoltage fault.Implementation of an internal over-voltage monitor on top of the external one. This is a safety mechanism that reads the measured values received from over-voltage monitor and raises the over voltage faults (in case the external one is not reacting correctly). There 2 limits that can be set: an error and an emergency limit. In case of an voltage over the error limit, we are checking if this is just a very short peak or it will stay over 400ms (default value - configurable). If at the end of the 400ms we stayed above the error limit, we trigger the MREC50OverVoltage error. In case of an voltage over the emergency error, we trigger ASAP the MREC50OverVoltage fault. Signed-off-by: Florin Mihut <florinmihut1@gmail.com>
Signed-off-by: florinmihut <florinmihut1@gmail.com>
Signed-off-by: florinmihut <florinmihut1@gmail.com>
Signed-off-by: Florin Mihut <florinmihut1@gmail.com>
Co-authored-by: Piet Gömpel <37657534+Pietfried@users.noreply.github.com> Signed-off-by: florinmihut <florinmihut1@gmail.com>
b54d0df to
aaa0d78
Compare
Describe your changes
Implementation of an internal over-voltage monitor on top of the external one. This is a safety mechanism that reads the measured values received from over-voltage monitor and raises the over voltage faults (in case the external one is not reacting correctly).
There 2 limits that can be set: an error and an emergency limit.
In case of an voltage over the error limit, we are checking if this is just a very short peak or it will stay over 400ms (default value - configurable). If at the end of the 400ms we stayed above the error limit, we trigger the MREC50OverVoltage error.
In case of an voltage over the emergency error, we trigger ASAP the MREC50OverVoltage fault.
Issue ticket number and link
Checklist before requesting a review