Patent ID: 7549439

Claim:
A flow control device comprising: a flush valve device having a control valve in a path leading from an inflow opening to an outflow opening; a detection portion for outputting presence/absence of a flow of a fluid flowing from the inflow opening to the outflow opening by converting to an electric signal; an electricity generating device for generating electricity by using the flow of the fluid as power; and a control device for controlling opening and closing of the control valve based on the output of the detection portion, said control device comprising: a water leakage monitoring circuit for monitoring a water leakage in the path leading to the outflow opening, a flow rate calculating circuit for calculating a flow rate of a fluid, which is discharged through the outflow opening, based on the electric signal obtained in the detection portion, and a discharge control circuit for closing the control valve in response to information indicating that the flow rate reaches a discharge stop flow rate at which a discharge should be stopped; wherein at least a part of the electricity obtained in the electricity generating device is supplied to the control device; and wherein the water leakage monitoring circuit detects a water leakage in response to information indicating that an electricity generation is continuously performed in the electricity generating device after the flow rate has reached the discharge stop flow rate.