WO2018021461A1 - Electronic apparatus - Google Patents

Electronic apparatus Download PDF

Info

Publication number
WO2018021461A1
WO2018021461A1 PCT/JP2017/027199 JP2017027199W WO2018021461A1 WO 2018021461 A1 WO2018021461 A1 WO 2018021461A1 JP 2017027199 W JP2017027199 W JP 2017027199W WO 2018021461 A1 WO2018021461 A1 WO 2018021461A1
Authority
WO
WIPO (PCT)
Prior art keywords
type
connection port
control unit
setting
value
Prior art date
Application number
PCT/JP2017/027199
Other languages
French (fr)
Japanese (ja)
Inventor
隼也 酒見
橋本 勝
英亮 山口
Original Assignee
パナソニックIpマネジメント株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by パナソニックIpマネジメント株式会社 filed Critical パナソニックIpマネジメント株式会社
Publication of WO2018021461A1 publication Critical patent/WO2018021461A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H3/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
    • H02H3/02Details
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H3/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
    • H02H3/08Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to excess current

Definitions

  • the present invention generally relates to an electronic device, and more particularly to an electronic device having a connection port to which a device is connected.
  • the threshold value is not set for each connection port, and the threshold value is fixed. Therefore, depending on the type of external device, the connection port may not be sufficiently protected against overcurrent.
  • the present invention has been made in view of the above reasons, and an object thereof is to provide an electronic device that can improve the protection performance of a connection port against an overcurrent.
  • An electronic device includes a connection port, a power supply unit, a communication unit, and a control unit.
  • the connection port is a port to which a device is connected.
  • the power supply unit supplies power to the device through the connection port.
  • the communication unit communicates with the device via the connection port.
  • the control unit controls the power supply unit to stop supplying the power when a current flowing through the device through the connection port exceeds a predetermined threshold.
  • the control unit executes setting processing when the device is connected to the connection port. In the setting process, the control unit acquires device information including at least type information from the device via the communication unit, and sets a setting value corresponding to the type of the acquired type information as the threshold value.
  • FIG. 1 is a block diagram of an electronic apparatus and a device connected to the electronic apparatus according to an embodiment of the present invention.
  • FIG. 2 is an overall schematic diagram of a system including the electronic apparatus described above.
  • FIG. 3 is a flowchart showing an example of threshold value setting processing in the electronic apparatus.
  • an electronic device 1 (hereinafter simply referred to as “electronic device 1”) of the present embodiment includes a plurality of connection ports 2 (first communication interface 11), a power supply unit 3, a communication unit 42, and a control unit. 41.
  • the number of connection ports 2 is two (first connection port 2A and second connection port 2B), but is not particularly limited, and may be one or three or more.
  • connection port 2 when the connection ports 2A and 2B are not particularly distinguished, they may be simply referred to as “connection port 2”.
  • Each connection port 2 is a port to which the device 50 is connected.
  • the power supply unit 3 supplies power to the device 50 via the connection port 2.
  • the communication unit 42 communicates with the device 50 via the connection port 2.
  • the control unit 41 controls the power supply unit 3 so as to stop the supply of power when the current flowing through the connection port 2 to the device 50 connected to the connection port 2 exceeds a predetermined threshold.
  • the control unit 41 executes the setting process when the device 50 is connected to the connection port 2.
  • the control unit 41 acquires device information including at least type information from the device 50 via the communication unit 42, and sets a setting value corresponding to the type of the acquired type information as the threshold value.
  • Examples of the type of device 50 include USB devices such as a USB dongle (Universal Serial Bus dongle) 50A and a USB memory (Universal Serial Bus Bus memory) 50B (see FIG. 1).
  • USB devices such as a USB dongle (Universal Serial Bus dongle) 50A and a USB memory (Universal Serial Bus Bus memory) 50B (see FIG. 1).
  • the electronic device 1 manages a plurality of devices 15A to 15F provided in, for example, a customer facility 100 (hereinafter simply referred to as “facility 100”) as shown in FIG. . That is, the electronic device 1 is assumed to have a function as a so-called HEMS (Home Energy Management System) controller as an example.
  • HEMS Home Energy Management System
  • the system includes, for example, a plurality of devices 15A to 15F provided in the facility 100, a USB dongle 50A connected to the electronic device 1, a server 21, a router 22, a smartphone 23, Is provided.
  • the electronic device 1 may be connected to a USB memory 50B (see FIG. 1).
  • the plurality of devices 15A to 15F are not particularly distinguished, they may be simply referred to as “device 15”.
  • the electronic device 1 has a function as a HEMS controller as described above.
  • the electronic device 1 controls the device 15 based on a signal from the server 21 by communicating with the server 21 via, for example, the Internet (public communication network) 20.
  • the signal is, for example, a DR (Demand Response) signal.
  • the electronic device 1 is configured to be able to communicate with a plurality of devices 15, for example.
  • the electronic device 1 communicates with each device 15 to acquire data such as resource consumption in the corresponding device 15.
  • Communication between the electronic device 1 and each device 15 is performed using radio waves as a transmission medium.
  • the components of the electronic device 1 will be described in detail in the next column “(2.2) Electronic device”.
  • Resource here refers to resources such as electric power, gas, water, and heat supplied from the supplier to the facility 100 and consumed in the facility 100.
  • the facility 100 includes not only a facility that receives power supply from an electric power company such as an electric power company but also a facility that receives power supply from a private power generation facility such as a solar power generation facility.
  • the plurality of devices 15 are various devices provided in the facility 100, and include, for example, electric devices that consume power (resources) such as the lighting fixture 15A, the air conditioner 15B, and the water heater 15C.
  • the plurality of devices 15 include sensor devices such as a temperature / humidity sensor 15D, an illuminance sensor, and an air quality sensor.
  • the plurality of devices 15 include a device that manages power, such as a distribution board 15E, and a device that measures power, such as a meter device 15F (so-called smart meter).
  • the plurality of devices 15 may include devices that generate electric power, such as solar power generation facilities.
  • the plurality of devices 15 are not limited to devices provided inside the facility 100.
  • the plurality of devices 15 include devices provided outside the facility 100, such as a water heater 15C and a meter device 15F.
  • the server 21 is provided outside the facility 100 but is not included in the device 15. That is, the device 15 is a device attached to the facility 100.
  • the facility 100 in which the electronic device 1 is used is, for example, a detached house.
  • the facility 100 is not limited to a detached house, and may be a dwelling unit of an apartment house (apartment).
  • the “user” means a person who uses the electronic device 1.
  • the user is a resident of the facility 100.
  • the USB dongle 50A incorporates a specific wireless communication module, and is configured to be able to communicate with the Internet 20 via a mobile phone network provided by a communication carrier.
  • the mobile phone network includes, for example, a 3G (third generation) line, a 4G (fourth generation) line, a 5G (fifth generation) line, and an LTE (Long Termination Evolution) line.
  • the USB dongle 50 ⁇ / b> A is configured to be connectable to the server 21 via the Internet 20 without using the router 22.
  • the USB dongle 50 ⁇ / b> A is a device that is allowed to communicate with the server 21 via the Internet 20.
  • the USB dongle 50A is classified as a “first type” device having a specific wireless communication function.
  • a device that does not have a specific wireless communication function (for example, the USB memory 50B) is classified as a “second type” device.
  • the electronic device 1 can communicate with the server 21 through the USB dongle 50A.
  • the “specific wireless communication function” in the present embodiment means a communication function using a 3G line, 4G line, 5G line, LTE line, or the like.
  • the USB dongle 50A of this embodiment is an LTE dongle as an example.
  • the router 22 is installed in the facility 100 by a user or a contractor according to a network constructed by the user.
  • the router 22 is connected to the Internet 20 through a shared line.
  • the shared line is used not only for communication between the electronic device 1 and the server 21 but also for connecting other devices to the Internet 20.
  • the smartphone 22 may be connected to the router 22 as shown in FIG. That is, the smartphone 23 is connected to the Internet 20 through a shared line.
  • the device 15 may be connected to the router 22. That is, the router 22 is allowed to communicate with a plurality of communication destinations including the server 21.
  • the USB dongle 50A is connected to the Internet 20 through a dedicated line.
  • the dedicated line is a line for the purpose of communication between the electronic device 1 and the server 21 and preferably has specifications that the user cannot change freely.
  • software that limits the communication destination to the server 21 is incorporated.
  • the server 21 is provided outside the facility 100 and is managed by a business operator (for example, an electric power company or a device manufacturer). Although the number of servers 21 illustrated in FIG. 2 is one, the number of servers that are communication destinations of the electronic device 1 may be two or more. The electronic device 1 may control the device 15 based on various data received from the server 21.
  • the electronic device 1 includes a first communication interface 11, a second communication interface 12, a third communication interface 13, and a fourth communication interface 14.
  • the electronic device 1 further includes a power supply unit 3, a control circuit 4, a storage unit 7, and a display unit 8.
  • “communication interface” is simply referred to as “communication I / F” unless otherwise specified.
  • the first communication I / F 11 includes two connection ports 2 (a first connection port 2A and a second connection port 2B). Each of the first and second connection ports 2A and 2B is a USB port.
  • the first connection port 2A and the second connection port 2B in the present embodiment preferably conform to USB 2.0 as the USB interface standard.
  • the USB dongle 50A (connector 501A) or the USB memory 50B (connector 501B) is inserted and connected to one of the connection ports 2.
  • the device is not limited to these as long as it is a USB device.
  • a dedicated USB device for setting various parameters in the electronic device 1 or writing a program may be connected.
  • the first and second connection ports 2 ⁇ / b> A and 2 ⁇ / b> B are mounted on a substrate in the electronic device 1.
  • the first and second connection ports 2A and 2B are electrically connected to the control circuit 4 mounted on the board via electric wiring.
  • the second communication I / F 12 is configured to be able to communicate with the router 22.
  • the second communication I / F 12 can communicate with the router 22 via a wireless communication module compliant with, for example, a wireless LAN (Local Area Network) communication standard obtained with Wi-Fi (registered trademark) authentication. It is configured.
  • This wireless communication module may be built in the electronic device 1 or may be provided separately from the electronic device 1.
  • the second communication I / F 12 may be configured to be communicable with the router 22 by wire.
  • the second communication I / F 12 is configured by a LAN port into which a connector of a LAN cable connected to the router 22 is inserted, for example.
  • the second communication I / F 12 is not essential in the electronic device 1.
  • the third communication I / F 13 is configured to be able to communicate with the lighting fixture 15A, the air conditioner 15B, the water heater 15C, the temperature / humidity sensor 15D, and the distribution board 15E among the plurality of devices 15.
  • the third communication I / F 13 is configured to be able to communicate with the device 15 via a wireless communication module compliant with a communication standard such as ECHONET Lite (registered trademark) or Bluetooth (registered trademark).
  • the third communication I / F 13 may be configured to be able to communicate with the device 15 via a wireless communication module compliant with a communication standard such as DECT (Digital Enhanced Cordless Telecommunications) (registered trademark).
  • These wireless communication modules may be built in the electronic device 1 or may be provided separately from the electronic device 1.
  • the third communication I / F 13 is not essential in the electronic device 1.
  • the 4th communication I / F14 is comprised so that communication with the meter apparatus 15F of the some apparatuses 15 is possible.
  • the fourth communication I / F 14 is configured to be able to communicate with the meter device 15F via a wireless communication module that complies with a so-called B-route compatible communication standard of Wi-SUN (registered trademark), for example.
  • the wireless communication module may be built in the electronic device 1 or may be provided separately from the electronic device 1. If the wireless communication module conforms to a so-called HAN (Home Area Network) route communication standard of Wi-SUN, the fourth communication I / F 14 is configured to be communicable with a device 15 other than the meter device 15F.
  • the fourth communication I / F 14 is not essential in the electronic device 1.
  • the fourth communication I / F 14 may be configured to be able to communicate with the meter device 15F using a power line communication (PLC) technique.
  • PLC power line communication
  • the fourth communication I / F 14 is configured by a LAN port into which a connector of a LAN cable connected to the PLC adapter is inserted.
  • the third communication I / F 13 and the fourth communication I / F 14 are both configured to be able to communicate with the device 15 without going through the Internet 20, and configured not to communicate with the server 21.
  • the first communication I / F 11 can communicate with the server 21 through the USB dongle 50A using a communication protocol different from the communication protocol used by the third communication I / F 13 and the fourth communication I / F 14.
  • 3rd communication I / F13 and 4th communication I / F14 may be comprised by one communication I / F.
  • the communication I / F is configured to be able to communicate with a plurality of types of devices 15 by changing the communication protocol. For example, communication with a smart meter using Wi-SUN and communication with an electric device using ECHONET Lite (registered trademark) may be performed by one wireless communication I / F using the 920 MHz band.
  • the power supply unit 3 is configured to supply power to the device 50 connected to the first connection port 2A and / or the second connection port 2B of the first communication I / F 11.
  • the USB dongle 50A may need to supply a current that exceeds the upper limit value (500 mA) of the current defined in the USB 2.0 standard, for example. Therefore, the power supply unit 3 is configured to supply a current exceeding the upper limit value to the USB dongle 50A. It is desirable that the circuit constituting the power supply unit 3 is designed so as to be able to withstand circuit stress with respect to the supply of current exceeding the upper limit value.
  • the power supply unit 3 When the device 50 is connected to the connection port 2, the power supply unit 3 starts supplying power (for example, 5 V operating voltage) to the device 50 through the power supply line (VBUS) of the connection port 2.
  • the device 50 can operate with the electric power supplied from the electronic device 1 without requiring an external power source.
  • the power supply part 3 will complete
  • the power supply unit 3 upon receiving a “cutoff signal” from the control unit 41 (described later), the power supply unit 3 urgently stops the power supply to the corresponding connection port 2.
  • the power supply unit 3 blocks the supply path to the corresponding device 50 by switching the switch element connected to the power supply line of the corresponding connection port 2 from the on state to the off state, for example.
  • the power supply unit 3 returns the switch element to the original ON state.
  • the display unit 8 is composed of a light emitting element such as an LED (Light Emitting Diode).
  • the display unit 8 may be configured with, for example, a liquid crystal display.
  • the display unit 8 is configured to emit light with different emission colors depending on the communication I / F being used.
  • the display unit 8 may be provided separately from the electronic device 1.
  • the control circuit 4 includes a monitoring unit 40, a control unit 41, and a communication unit 42.
  • the control circuit 4 may realize various functions of the monitoring unit 40, the control unit 41, and the communication unit 42 by executing a program stored in the storage unit 7.
  • the program may be written in the storage unit 7 in advance, but may be provided by being stored in a recording medium such as a memory card, may be provided through the USB device 50, or provided through an electric communication line. May be.
  • at least a part of the monitoring unit 40, the control unit 41, and the communication unit 42 may be configured by hardware different from the control circuit 4.
  • the monitoring unit 40 of the control circuit 4 monitors the current (current consumption) flowing through the device 50 through the power supply lines of the first connection port 2A and the second connection port 2B of the first communication I / F 11, respectively.
  • the monitoring unit 40 monitors the current flowing in the shunt resistor connected in series to the power supply line.
  • the monitoring unit 40 may monitor the current using CT (Current Transformer).
  • connection of the device 50 means that the device 50 is physically and electrically connected to any one of the connection ports 2.
  • the monitoring unit 40 may monitor the power supply line of each connection port 2 and determine that the device 50 is connected if there is a change in the current value.
  • the monitoring unit 40 When the monitoring unit 40 detects that the connection state between the device 50 and the connection port 2 is released (the device 50 is removed from the connection port 2), the monitoring unit 40 transmits a “release signal” to the control unit 41.
  • the connection signal and the release signal include information for identifying the corresponding connection port 2 by the control unit 41.
  • the monitoring unit 40 transmits an “abnormal signal” indicating the occurrence of overcurrent to the control unit 41 when the consumption current flowing through the power supply line exceeds a predetermined threshold.
  • the abnormal signal includes information for identifying the corresponding connection port 2 by the control unit 41.
  • the monitoring unit 40 may further turn on an abnormal lamp provided in the display unit 8 so as to notify the occurrence of overcurrent to the outside.
  • the communication unit 42 of the control circuit 4 is configured to communicate with the device 50 connected to the corresponding connection port 2 through the data line (D +, D ⁇ ) of each connection port 2.
  • the communication unit 42 sends device information (for example, power consumption data) acquired from the device 15 to the server 21 via the USB dongle 50A, for example. Send to.
  • the communication unit 42 may transmit the device information to the server 21 triggered by receiving a request signal for requesting the device information from the server 21, or periodically transmit the device information to the server 21. May be. Further, the communication unit 42 may receive a control command for controlling, for example, a specific device 15 from the server 21 via the USB dongle 50A.
  • the communication unit 42 may transmit the device information acquired from the device 15 to the server 21 through the second communication I / F 12.
  • the communication unit 42 may receive device information (for example, a control command for a specific device 15) from the server 21 through the second communication I / F 12.
  • the communication unit 42 transmits and receives device information related to the device 15 with the device 15 via the third communication I / F 13 or the fourth communication I / F 14.
  • the device information includes, for example, power consumption data in the device 15 or a control command for controlling the device 15.
  • the device information also includes measurement information such as the power amount of the main circuit and / or the power amount of each branch circuit measured by the distribution board 15E.
  • the communication unit 42 receives device information (power consumption data) from the lighting fixture 15A via the third communication I / F 13.
  • the communication unit 42 also receives device information (power consumption data) from the meter device 15F via the fourth communication I / F 14.
  • the communication part 42 transmits a control command toward the air conditioner 15B via the 3rd communication I / F13.
  • the communication unit 42 acquires device information including type information from the device 50 via the data line of the connection port 2.
  • the type information is information for specifying the type of the device 50.
  • the type information includes a product ID and a vendor ID of the device 50 itself.
  • the product ID is simply referred to as “PID”
  • the vendor ID is simply referred to as “VID”.
  • the device information may include information related to the rated current of the device 50 itself in addition to the type information.
  • the control unit 41 of the control circuit 4 performs processing according to the signal received from the monitoring unit 40. Specifically, when receiving a connection signal from the monitoring unit 40, the control unit 41 determines that the device 50 is inserted and connected to the corresponding connection port 2, and executes threshold setting processing. Further, when receiving the release signal from the monitoring unit 40, the control unit 41 determines that the connection state between the corresponding device 50 and the connection port 2 has been released, and executes processing such as returning the threshold value to the original initial value, for example. To do.
  • the control unit 41 determines that there is an abnormality in the device 50 connected to the corresponding connection port 2 and an overcurrent has occurred. Then, the control unit 41 instructs the power supply unit 3 to urgently stop the power supply through the power supply line of the connection port 2. That is, the control unit 41 transmits a cutoff signal to the power supply unit 3.
  • the control unit 41 executes threshold setting processing.
  • the control unit 41 acquires device information including at least type information from the device 50 via the communication unit 42, and determines the type of the device 50 based on the type of the type information. That is, the control unit 41 determines whether the type of the device 50 corresponds to the first type or the second type.
  • the control part 41 sets the setting value corresponding to the kind to the said threshold value used for determination of overcurrent in the monitoring part 40.
  • the control unit 41 when receiving the type information of the device 50 connected to the connection port 2 from the communication unit 42, the control unit 41 refers to the setting data stored in advance in the storage unit 7.
  • the setting data for example, as shown in Table 1, a plurality of type information (a plurality of sets of PIDs and VIDs) related to a plurality of types of devices and a plurality of setting values are associated with each other.
  • one set of PID “XXX1” and VID “YYYY” corresponds to a first type device having a specific wireless communication function.
  • a set of PID “XXX2” and VID “YYYY” also corresponds to the first type of device.
  • the first type of device is an LTE dongle, but other devices may be included as long as the device has a specific wireless communication function.
  • the first type of device may need to supply a current exceeding the upper limit value (eg, 500 mA) of the current in the USB interface standard (eg, USB 2.0).
  • the upper limit value eg, 500 mA
  • a device having a wireless communication function such as an LTE dongle may need to supply a current exceeding this upper limit value.
  • the set value set for the threshold value needs to be at least larger than the upper limit value. Therefore, the first setting values “ZZZ1” and “ZZZ2” corresponding to the first type device in the setting data are both values larger than 500 mA, for example.
  • one set of PID “AAAA” and VID “BBBB” corresponds to a second type of device that does not have a specific wireless communication function.
  • a set of PID “DDDD” and VID “EEEE” also corresponds to the second type of device.
  • the second type device is a USB memory, but other devices may be used as long as they do not have a specific wireless communication function.
  • the second type device does not need to supply a current exceeding the upper limit value of the current in the USB interface standard (for example, USB 2.0).
  • a device such as a USB memory does not need to supply a current exceeding the upper limit value. Therefore, for the second type device, if the set value set for the threshold is larger than the upper limit value, such as the first set value corresponding to the first type device, an overcurrent may occur. There is a possibility that it cannot be detected sufficiently. Therefore, the second setting values “CCCC” and “FFFF” corresponding to the second type device in the setting data are both 500 mA or less, for example. In short, the second set value is smaller than the first set value.
  • the control unit 41 searches the setting data to determine whether or not the PID and VID included in the acquired type information exist in a plurality of sets of PIDs and VIDs in the setting data. If a matching pair of PID and VID is found, the control unit 41 stores the setting value associated with the PID and VID in the storage unit 7 as a threshold corresponding to the connection port 2. If a matching pair of PID and VID is not found, it may be displayed on the display unit 8 as an error, or a predetermined initial value is stored in the storage unit 7 as a threshold corresponding to the connection port 2. Also good.
  • the monitoring unit 40 determines whether the consumption current flowing through the corresponding power supply line exceeds the threshold value using the threshold value set as described above. Therefore, the electronic device 1 can improve the protection performance of the connection port 2 against overcurrent for various devices 50.
  • the storage unit 7 can store a threshold corresponding to each connection port 2.
  • the storage unit 7 since the number of connection ports 2 is two, the storage unit 7 stores two threshold values respectively corresponding to the two connection ports 2. Needless to say, if the number of connection ports 2 is five, for example, the storage unit 7 may store five threshold values respectively corresponding to the five connection ports 2.
  • control unit 41 executes the threshold value setting process described above for each of the plurality of connection ports 2. Therefore, even when a plurality of connection ports 2 are provided, the protection performance against overcurrent can be improved in connection port 2 units.
  • the control unit 41 may directly set the setting value included in the device information acquired from the device 50 as the threshold value.
  • the “specific type” mentioned here is not the presence / absence of a specific wireless communication function but the presence / absence of a set value in the acquired device information.
  • Device belongs to “specific type”.
  • the control unit 41 may set a threshold value after adding a predetermined value to the rated current.
  • the electronic device 1 can further improve the protection performance of the connection port 2 against overcurrent.
  • one set value is associated with one set of PID and VID. That is, PID “XXX1” and VID “YYYY” and PID “XXX2” and VID “YYYY” have different first set values “ZZZ1” and “ZZZ2” even though they belong to the same first type. It is associated.
  • one set value may be associated with a plurality of sets of PIDs and VIDs. That is, a common first setting value (for example, “ZZZ1”) may be associated with a plurality of sets of PIDs and VIDs belonging to the first type.
  • a common second setting value for example, “CCCC” may be associated with a plurality of sets of PIDs and VIDs belonging to the second type.
  • the setting data may include only a plurality of sets of PIDs and VIDs belonging to the first type and a plurality of corresponding first setting values (or common first setting values). In short, the setting data may not include PID and VID data belonging to the second type.
  • the control unit 41 determines the type of the device 50 as the first type. Then, the control unit 41 sets a corresponding first set value as a threshold value corresponding to the connection port 2 in the storage unit 7. On the other hand, if the PID and VID of the device 50 connected to the connection port 2 do not exist in the setting data, the control unit 41 determines that the type of the device 50 is the second type. Then, the control unit 41 may set a predetermined initial value as a threshold value corresponding to the connection port 2 in the storage unit 7.
  • This initial value is preferably a common second set value (for example, “CCCC”).
  • the storage unit 7 may store in advance a common second set value as all threshold values corresponding to the plurality of connection ports 2.
  • the control unit 41 sets the second setting as the threshold corresponding to the connection port 2 in the storage unit 7 only when the type of the device 50 connected to the connection port 2 is determined to be the first type. The value may be temporarily changed to the first set value. Thereafter, when the control unit 41 receives information from the monitoring unit 40 (reception of a release signal) that the connection state between the device 50 and the connection port 2 is released, the control unit 41 corresponds to the connection port 2 in the storage unit 7.
  • the threshold value to be used the first set value may be returned to the original second set value.
  • the electronic device 1 will only hold
  • the amount of data in the electronic device 1 can be reduced.
  • the second set value is always set to the threshold value, so even if the control unit 41 fails to determine the type of the device 50, The protection performance of the connection port 2 can be ensured to some extent.
  • the setting data stored in the storage unit 7 may be updated using data acquired through the device 50. That is, when data related to the PID, VID, and setting value is stored in the USB memory 50B, the control unit 41 acquires the data from the USB memory 50B connected to any one of the connection ports 2 and sets the setting data. May be updated. Or when the said data is stored in the server 21, the control part 41 acquires the said data from the server 21 via the USB dongle 50A connected to one of the connection ports 2, and updates setting data May be.
  • the setting data in the storage unit 7 can be easily updated. Further, the determination accuracy of the type of the device 50 in the control unit 41 can be improved by updating the setting data.
  • the “device other than the LTE dongle” in step S8 in FIG. 3 means a second type device that does not have a specific wireless communication function such as a USB memory.
  • the storage unit 7 stores in advance a common second set value (initial value) corresponding to the second type as two threshold values corresponding to the first and second connection ports 2A and 2B, respectively. Yes.
  • the monitoring unit 40 constantly monitors the power supply lines (VBUS) of the first and second connection ports 2A and 2B (step S1). If there is a change in the current value in any of the power supply lines (step S2: Yes), the monitoring unit 40 inserts the device 50 into the connection port 2 corresponding to the corresponding power supply line and It is determined that the supply has started (step S3). Then, the monitoring unit 40 transmits a connection signal to the control unit 41.
  • VBUS power supply lines
  • step S2 determines that the device 50 is not inserted (step S4), and the process returns to step S1.
  • the control unit 41 When the control unit 41 receives a connection signal from the monitoring unit 40, the control unit 41 starts a threshold setting process. That is, when the insertion of the device 50 is detected, the control unit 41 acquires the type information (PID and VID) from the device 50 through the data line of the corresponding connection port 2 to the communication unit 42. Instruct. Then, the control unit 41 receives the PID and VID from the communication unit 42. The control unit 41 searches the setting data to determine whether or not the PID and VID included in the acquired type information are present in a plurality of sets of PIDs and VIDs belonging to the first type in the setting data in the storage unit 7. That is, the control unit 41 determines whether or not the acquired PID and VID match the PID and VID belonging to the LTE dongle (step S5).
  • step S5 If there is a matching PID and VID in the setting data (step S5: Yes), the control unit 41 determines that the device 50 inserted into the connection port 2 is an LTE dongle (step S6). And the control part 41 changes the initial value (2nd setting value) set to the threshold value corresponding to the said connection port 2 in the memory
  • step S5 determines that the device 50 inserted into the connection port 2 is a “device other than the LTE dongle”.
  • Step S8 determines that the device 50 inserted into the connection port 2 is a “device other than the LTE dongle”.
  • Step S9 the control part 41 maintains the initial value (2nd setting value) set as the threshold value corresponding to the said connection port 2 in the memory
  • the control unit 41 completes the threshold value setting process through step S7 (or step S9). And the monitoring part 40 monitors the consumption current which flows through a corresponding power supply line using the threshold value corresponding to the said connection port 2 in the memory
  • the monitoring unit 40 detects the release of the connection state of the device 50, the monitoring unit 40 transmits the information to the control unit 41 (transmission of a release signal). If the threshold value corresponding to the connection port 2 in the storage unit 7 is changed to the first set value through step S7, the control unit 41 changes the first set value to the original initial value (second To the set value).
  • the electronic device 1 determines the type of the device 50 inserted into the connection port 2 and sets a setting value corresponding to the type as a threshold value. That is, a device such as an LTE dongle needs to supply a current exceeding the upper limit value of the USB standard, and a threshold for determining an overcurrent needs to be increased. Therefore, as described above, when the electronic device 1 determines that the connected device 50 is the LTE dongle, the electronic device 1 temporarily sets the first setting value higher than the initial value (second setting value) as the threshold value. To do.
  • a device such as a USB memory does not require a current supply exceeding the upper limit value of the USB standard, and on the contrary, if a threshold value for determining an overcurrent is set high, an overcurrent is generated. It cannot be detected properly, and the detection accuracy for overcurrent decreases. Therefore, when the connection of the LTE dongle is released, the electronic device 1 returns the threshold value from the first setting value to the original low initial value (second setting value). Further, when the electronic device 1 determines that the connected device 50 is a device such as the USB memory 50B, the electronic device 1 maintains an initial value (second set value). Therefore, the electronic device 1 can prevent a decrease in detection accuracy with respect to an overcurrent.
  • the electronic device 1 has an overcurrent even if the connected device 50 is a device that requires a current supply exceeding the interface standard or a device that does not require such a current supply. Therefore, the protection performance of the connection port 2 can be improved.
  • the electronic device 1 includes the connection port 2, the power supply unit 3, the communication unit 42, and the control unit 41.
  • the connection port 2 is a port to which the device 50 is connected.
  • the power supply unit 3 supplies power to the device 50 via the connection port 2.
  • the communication unit 42 communicates with the device 50 via the connection port 2.
  • the control unit 41 controls the power supply unit 3 so as to stop the supply of power when the current flowing through the device 50 through the connection port 2 exceeds a predetermined threshold.
  • the control unit 41 executes setting processing. In the setting process, the control unit 41 acquires device information including at least type information from the device 50 via the communication unit 42, and sets a setting value corresponding to the type of the acquired type information as the threshold value.
  • the electronic device 1 can improve the protection performance of the connection port 2 against overcurrent.
  • the control unit 41 determines that the type of the device is the first type having a specific wireless communication function based on the type of the type information. Then, it is preferable to set the first set value as the set value to the threshold value. Further, when the control unit 41 determines that the type is the second type different from the first type based on the type of the type information, the control unit 41 sets the second set value as the set value as the threshold value. It is preferable.
  • the first set value is preferably larger than the second set value.
  • the protection performance of the connection port 2 against overcurrent is improved for the first type device 50 having a specific wireless communication function that requires a current supply exceeding the interface standard. be able to. Also, the protection performance of the connection port 2 against overcurrent can be improved for the second type device 50 that does not require a current supply exceeding the interface standard and does not have a specific wireless communication function. it can.
  • the control unit 41 when the connection state between the device 50 determined as the first type and the connection port 2 is released, the control unit 41 It is preferable to set the set value to the threshold value.
  • the electronic device 1 only needs to hold at least two setting values (first setting value and second setting value), and the amount of data in the electronic device 1 can be reduced. Also, except when the first type device 50 is connected, the second set value is always set to the threshold value, so even if the control unit 41 fails to determine the type of the device 50, The protection performance of the connection port 2 can be ensured to some extent.
  • the electronic device 1 according to the fourth aspect further includes setting data in which a plurality of types of information regarding a plurality of types of devices 50 and a plurality of setting values are associated with each other. It is preferable to include a storage unit 7 for storing in advance. In this case, it is preferable that the control unit 41 determines a setting value corresponding to the type of the type information with reference to setting data stored in the storage unit 7.
  • overcurrent can be detected using a more suitable threshold for various devices 50, and the protection performance of the connection port 2 against overcurrent can be further improved.
  • control unit 41 acquires data relating to at least one set value from the device 50 connected to the connection port 2. And it is preferable that the control part 41 updates the setting data memorize
  • the setting data in the storage unit 7 can be easily updated, and the determination accuracy of the type of the device 50 in the control unit 41 can be increased.
  • the electronic device 1 according to the sixth aspect preferably includes a plurality of connection ports 2 in any one of the first to fifth aspects.
  • the control unit 41 preferably executes the setting process for each of the plurality of connection ports 2.
  • connection port units even when a plurality of connection ports 2 are provided, the protection performance against overcurrent can be improved in connection port units.
  • the device information preferably includes a setting value corresponding to the device 50 itself.
  • the control unit 41 determines that the device type is a specific type in the setting process, the control unit 41 preferably sets the setting value included in the device information as the threshold value.
  • connection port 2 is a USB port
  • the device 50 is a USB device
  • the connection port 2 and the device 50 are USB 2.0. It is preferable to comply with.
  • connection port 2 connection port 2 compliant with USB 2.0 against overcurrent

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Power Sources (AREA)
  • Emergency Protection Circuit Devices (AREA)

Abstract

The present invention improves connection port protection performance against overcurrent. An electronic apparatus (1) is provided with a connection port (2), power supply unit (3), communication unit (42), and control unit (41). The control unit (41) controls the power supply unit (3) to stop power supply when a current flowing in a device (50) via the connection port (2) exceeds a predetermined threshold value. When the device (50) is connected to the connection port (2), the control unit (41) executes setting. When performing the setting, the control unit (41) acquires device information, including at least type information, from the device (50) via the communication unit (42), and sets, as the threshold value, a setting value corresponding to the type of the type information thus acquired.

Description

電子機器Electronics
 本発明は、一般に電子機器に関し、より詳細にはデバイスが接続される接続ポートを有した電子機器に関する。 The present invention generally relates to an electronic device, and more particularly to an electronic device having a connection port to which a device is connected.
 従来、複数のUSBインタフェース(接続ポート)に接続される外部機器(デバイス)の消費電流の和が閾値を超えた場合、過電流の発生を示す信号を出力して、接続ポートへの電源供給を停止する電子機器が知られている(例えば特許文献1参照)。 Conventionally, when the sum of current consumption of external devices (devices) connected to multiple USB interfaces (connection ports) exceeds a threshold, a signal indicating the occurrence of overcurrent is output to supply power to the connection ports. An electronic device that stops is known (see, for example, Patent Document 1).
 外部機器の種類によっては、USBインタフェースの規格で定められている電流の上限値(例えば500mA)を超える電流の供給が必要とされる場合がある。特許文献1の電子機器では、閾値が接続ポート単位で設定されておらず、また、閾値が固定された値となっていた。そのため、外部機器の種類によっては、過電流に対する接続ポートの保護が十分に行われない場合があった。 Depending on the type of external device, it may be necessary to supply a current that exceeds the upper limit (eg, 500 mA) of the current defined by the USB interface standard. In the electronic device of Patent Document 1, the threshold value is not set for each connection port, and the threshold value is fixed. Therefore, depending on the type of external device, the connection port may not be sufficiently protected against overcurrent.
特開2003-216287号公報JP 2003-216287 A
 本発明は上記事由に鑑みてなされ、過電流に対する接続ポートの保護性能を向上させることができる電子機器を提供することを目的とする。 The present invention has been made in view of the above reasons, and an object thereof is to provide an electronic device that can improve the protection performance of a connection port against an overcurrent.
 本発明の一態様に係る電子機器は、接続ポートと電源部と通信部と制御部とを備える。前記接続ポートは、デバイスが接続されるためのポートである。前記電源部は、前記接続ポートを介して前記デバイスに電力を供給する。前記通信部は、前記接続ポートを介して前記デバイスと通信を行う。前記制御部は、前記接続ポートを通じて前記デバイスに流れる電流が所定の閾値を超えたときに、前記電力の供給を停止するように前記電源部を制御する。前記制御部は、前記デバイスが前記接続ポートに接続されると、設定処理を実行する。前記制御部は、前記設定処理において、前記デバイスから前記通信部を介して少なくとも種別情報を含むデバイス情報を取得し、取得した前記種別情報の種別に対応した設定値を前記閾値に設定する。 An electronic device according to one embodiment of the present invention includes a connection port, a power supply unit, a communication unit, and a control unit. The connection port is a port to which a device is connected. The power supply unit supplies power to the device through the connection port. The communication unit communicates with the device via the connection port. The control unit controls the power supply unit to stop supplying the power when a current flowing through the device through the connection port exceeds a predetermined threshold. The control unit executes setting processing when the device is connected to the connection port. In the setting process, the control unit acquires device information including at least type information from the device via the communication unit, and sets a setting value corresponding to the type of the acquired type information as the threshold value.
図1は、本発明の一実施形態に係る電子機器、及び電子機器に接続されるデバイスのブロック図である。FIG. 1 is a block diagram of an electronic apparatus and a device connected to the electronic apparatus according to an embodiment of the present invention. 図2は、同上の電子機器を含むシステムの全体概略図である。FIG. 2 is an overall schematic diagram of a system including the electronic apparatus described above. 図3は、同上の電子機器における閾値の設定処理の一例を示すフローチャートである。FIG. 3 is a flowchart showing an example of threshold value setting processing in the electronic apparatus.
 (実施形態)
 (1)概要
 以下に説明する構成は、本発明の一例に過ぎず、本発明は、下記の構成に限定されることはなく、下記の構成以外であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能である。また、各図は、模式的な図であり、図1及び図2中の各構成要素の大きさ及び厚さそれぞれの比が、必ずしも実際の寸法比を反映しているとは限らない。
(Embodiment)
(1) Outline The configuration described below is merely an example of the present invention. The present invention is not limited to the following configuration, and the technical idea according to the present invention is not limited to the following configuration. As long as it does not deviate from the above, various changes can be made according to the design and the like. Each figure is a typical figure, and the ratio of the size and thickness of each component in FIGS. 1 and 2 does not necessarily reflect the actual dimensional ratio.
 本実施形態の電子機器1(以下、単に「電子機器1」という)は、図1に示すように、複数の接続ポート2(第1通信インタフェース11)と電源部3と通信部42と制御部41とを備える。本実施形態では、接続ポート2の数は2つ(第1の接続ポート2Aと第2の接続ポート2B)であるが、特に限定されず、1つでもよいし3つ以上であってもよい。以下では、接続ポート2A及び2Bを特に区別しない場合、単に「接続ポート2」ということもある。各接続ポート2は、デバイス50が接続されるためのポートである。 As shown in FIG. 1, an electronic device 1 (hereinafter simply referred to as “electronic device 1”) of the present embodiment includes a plurality of connection ports 2 (first communication interface 11), a power supply unit 3, a communication unit 42, and a control unit. 41. In the present embodiment, the number of connection ports 2 is two (first connection port 2A and second connection port 2B), but is not particularly limited, and may be one or three or more. . Hereinafter, when the connection ports 2A and 2B are not particularly distinguished, they may be simply referred to as “connection port 2”. Each connection port 2 is a port to which the device 50 is connected.
 電源部3は、接続ポート2を介してデバイス50に電力を供給する。通信部42は、接続ポート2を介してデバイス50と通信を行う。制御部41は、接続ポート2を通じて当該接続ポート2に接続されたデバイス50に流れる電流が所定の閾値を超えたときに、上記電力の供給を停止するように電源部3を制御する。 The power supply unit 3 supplies power to the device 50 via the connection port 2. The communication unit 42 communicates with the device 50 via the connection port 2. The control unit 41 controls the power supply unit 3 so as to stop the supply of power when the current flowing through the connection port 2 to the device 50 connected to the connection port 2 exceeds a predetermined threshold.
 制御部41は、デバイス50が接続ポート2に接続されると、設定処理を実行する。制御部41は、この設定処理において、デバイス50から通信部42を介して少なくとも種別情報を含むデバイス情報を取得し、取得した当該種別情報の種別に対応した設定値を上記閾値に設定する。 The control unit 41 executes the setting process when the device 50 is connected to the connection port 2. In this setting process, the control unit 41 acquires device information including at least type information from the device 50 via the communication unit 42, and sets a setting value corresponding to the type of the acquired type information as the threshold value.
 デバイス50の種類の例として、USBドングル(Universal Serial Bus dongle)50A及びUSBメモリ(Universal Serial Bus memory)50B等のUSBデバイスが挙げられる(図1参照)。 Examples of the type of device 50 include USB devices such as a USB dongle (Universal Serial Bus dongle) 50A and a USB memory (Universal Serial Bus Bus memory) 50B (see FIG. 1).
 以下の説明では、電子機器1は、図2に示すように、例えば需要家の施設100(以下、単に「施設100」という)に設けられた複数の機器15A~15Fを管理することを想定する。すなわち、電子機器1は、一例として、いわゆるHEMS(Home Energy Management System)コントローラとしての機能を有することを想定する。 In the following description, it is assumed that the electronic device 1 manages a plurality of devices 15A to 15F provided in, for example, a customer facility 100 (hereinafter simply referred to as “facility 100”) as shown in FIG. . That is, the electronic device 1 is assumed to have a function as a so-called HEMS (Home Energy Management System) controller as an example.
 (2)詳細
 (2.1)システム全体
 以下、電子機器1を含むシステム全体について、図2を参照しながら詳しく説明する。当該システムは、電子機器1以外に、例えば、施設100に設けられた複数の機器15A~15Fと、電子機器1に接続されるUSBドングル50Aと、サーバ21と、ルータ22と、スマートフォン23と、を備える。また、電子機器1には、USBドングル50A以外に、USBメモリ50B(図1参照)等が接続されることもある。以下では、複数の機器15A~15Fを特に区別しない場合、単に「機器15」ということもある。
(2) Details (2.1) Entire System Hereinafter, the entire system including the electronic device 1 will be described in detail with reference to FIG. In addition to the electronic device 1, the system includes, for example, a plurality of devices 15A to 15F provided in the facility 100, a USB dongle 50A connected to the electronic device 1, a server 21, a router 22, a smartphone 23, Is provided. In addition to the USB dongle 50A, the electronic device 1 may be connected to a USB memory 50B (see FIG. 1). Hereinafter, when the plurality of devices 15A to 15F are not particularly distinguished, they may be simply referred to as “device 15”.
 電子機器1は、上述の通り、HEMSコントローラとしての機能を有する。電子機器1は、例えばインターネット(公衆通信網)20を介してサーバ21と通信することにより、サーバ21からの信号に基づいて機器15を制御する。信号は、例えばDR(Demand Response)信号などである。 The electronic device 1 has a function as a HEMS controller as described above. The electronic device 1 controls the device 15 based on a signal from the server 21 by communicating with the server 21 via, for example, the Internet (public communication network) 20. The signal is, for example, a DR (Demand Response) signal.
 また、電子機器1は、例えば複数の機器15と通信可能に構成される。電子機器1は、各機器15と通信することにより、対応する機器15での資源の消費量などのデータを取得する。電子機器1と各機器15との間の通信は、電波を伝送媒体として行われる。電子機器1の構成要素については、次の欄「(2.2)電子機器」で詳しく説明する。 Also, the electronic device 1 is configured to be able to communicate with a plurality of devices 15, for example. The electronic device 1 communicates with each device 15 to acquire data such as resource consumption in the corresponding device 15. Communication between the electronic device 1 and each device 15 is performed using radio waves as a transmission medium. The components of the electronic device 1 will be described in detail in the next column “(2.2) Electronic device”.
 ここでいう「資源」は、供給事業者から施設100に供給され、施設100で消費される電力、ガス、水、熱などの資源である。以下では、一例として資源が電力である場合について説明するが、資源を電力に限定する趣旨ではない。また、施設100は、電力会社等の電気事業者から電力の供給を受ける施設だけではなく、太陽光発電設備等の自家発電設備から電力の供給を受ける施設も含む。 “Resource” here refers to resources such as electric power, gas, water, and heat supplied from the supplier to the facility 100 and consumed in the facility 100. Hereinafter, a case where the resource is electric power will be described as an example, but the resource is not limited to electric power. The facility 100 includes not only a facility that receives power supply from an electric power company such as an electric power company but also a facility that receives power supply from a private power generation facility such as a solar power generation facility.
 複数の機器15は、施設100に設けられた種々の機器であって、例えば照明器具15A、エアーコンディショナ15B、及び給湯機15C等の電力(資源)を消費する電気機器を含む。また、複数の機器15は、例えば温湿度センサ15D、照度センサ、及び空気質センサ等のセンサ機器を含む。さらに、複数の機器15は、分電盤15E等の電力を管理する機器、及びメータ装置15F(いわゆる、スマートメータ)等の電力を計測する機器を含む。その他にも、複数の機器15は、例えば太陽光発電設備等の電力を生成する機器を含んでもよい。 The plurality of devices 15 are various devices provided in the facility 100, and include, for example, electric devices that consume power (resources) such as the lighting fixture 15A, the air conditioner 15B, and the water heater 15C. The plurality of devices 15 include sensor devices such as a temperature / humidity sensor 15D, an illuminance sensor, and an air quality sensor. Further, the plurality of devices 15 include a device that manages power, such as a distribution board 15E, and a device that measures power, such as a meter device 15F (so-called smart meter). In addition, the plurality of devices 15 may include devices that generate electric power, such as solar power generation facilities.
 複数の機器15は、施設100の内部に設けられている機器に限定されない。複数の機器15は、例えば給湯機15C及びメータ装置15Fのように、施設100の外部に設けられている機器も含んでいる。ただし、サーバ21は、施設100の外部に設けられているが、機器15には含まれない。つまり、機器15は、施設100に付設された機器である。 The plurality of devices 15 are not limited to devices provided inside the facility 100. The plurality of devices 15 include devices provided outside the facility 100, such as a water heater 15C and a meter device 15F. However, the server 21 is provided outside the facility 100 but is not included in the device 15. That is, the device 15 is a device attached to the facility 100.
 電子機器1が用いられる施設100は、例えば、戸建住宅である。もちろん、施設100は、戸建住宅に限らず、集合住宅(マンション)の住戸等であってもよい。以下では、「ユーザ」とは、電子機器1を使用する人を意味する。施設100が戸建住宅である本実施形態では、ユーザは、施設100の住人である。 The facility 100 in which the electronic device 1 is used is, for example, a detached house. Of course, the facility 100 is not limited to a detached house, and may be a dwelling unit of an apartment house (apartment). Hereinafter, the “user” means a person who uses the electronic device 1. In the present embodiment in which the facility 100 is a detached house, the user is a resident of the facility 100.
 USBドングル50Aは、特定の無線通信モジュールを内蔵しており、通信事業者が提供する携帯電話網を介してインターネット20に通信可能に構成されている。携帯電話網は、例えば3G(第3世代)回線、4G(第4世代)回線、5G(第5世代)回線、LTE(Long Term Evolution)回線等がある。また、USBドングル50Aは、ルータ22を介さずに、インターネット20を介してサーバ21に接続可能に構成されている。言い換えれば、USBドングル50Aは、インターネット20を介したサーバ21との通信が許容されるデバイスである。 The USB dongle 50A incorporates a specific wireless communication module, and is configured to be able to communicate with the Internet 20 via a mobile phone network provided by a communication carrier. The mobile phone network includes, for example, a 3G (third generation) line, a 4G (fourth generation) line, a 5G (fifth generation) line, and an LTE (Long Termination Evolution) line. Further, the USB dongle 50 </ b> A is configured to be connectable to the server 21 via the Internet 20 without using the router 22. In other words, the USB dongle 50 </ b> A is a device that is allowed to communicate with the server 21 via the Internet 20.
 本実施形態では、USBドングル50Aは、特定の無線通信機能を有する「第1の種類」のデバイスに分類される。一方、本実施形態では、特定の無線通信機能を有さないデバイス(例えばUSBメモリ50B)は、「第2の種類」のデバイスに分類される。USBドングル50Aが、第1の接続ポート2A又は第2の接続ポート2Bに接続された場合、電子機器1は、USBドングル50Aを通じて、サーバ21と通信可能となる。本実施形態で言う「特定の無線通信機能」は、3G回線、4G回線、5G回線、又はLTE回線等を用いる通信機能を意味する。本実施形態のUSBドングル50Aは、一例としてLTEドングルである。 In the present embodiment, the USB dongle 50A is classified as a “first type” device having a specific wireless communication function. On the other hand, in the present embodiment, a device that does not have a specific wireless communication function (for example, the USB memory 50B) is classified as a “second type” device. When the USB dongle 50A is connected to the first connection port 2A or the second connection port 2B, the electronic device 1 can communicate with the server 21 through the USB dongle 50A. The “specific wireless communication function” in the present embodiment means a communication function using a 3G line, 4G line, 5G line, LTE line, or the like. The USB dongle 50A of this embodiment is an LTE dongle as an example.
 ルータ22は、ユーザが構築するネットワークに応じて、ユーザ又は施工者により施設100内に設置される。ルータ22は、共用回線によりインターネット20に接続されている。共用回線は、電子機器1とサーバ21との通信のみを目的とした回線ではなく、他の機器をインターネット20に接続するためにも用いられる。例えばルータ22には、図2に示すように、スマートフォン23が接続されていてもよい。つまり、スマートフォン23は、共用回線によりインターネット20に接続されている。その他、ルータ22には、タブレット端末等の携帯端末及びパーソナルコンピュータの他、機器15などが接続されていてもよい。つまり、ルータ22は、サーバ21を含む複数の通信先との通信が許容されている。 The router 22 is installed in the facility 100 by a user or a contractor according to a network constructed by the user. The router 22 is connected to the Internet 20 through a shared line. The shared line is used not only for communication between the electronic device 1 and the server 21 but also for connecting other devices to the Internet 20. For example, the smartphone 22 may be connected to the router 22 as shown in FIG. That is, the smartphone 23 is connected to the Internet 20 through a shared line. In addition to the portable terminal such as a tablet terminal and a personal computer, the device 15 may be connected to the router 22. That is, the router 22 is allowed to communicate with a plurality of communication destinations including the server 21.
 一方、USBドングル50Aは、専用回線によりインターネット20に接続されている。専用回線は、共用回線とは異なり、電子機器1とサーバ21との通信を目的とした回線であり、ユーザが自由に変更できない仕様であることが好ましい。本実施形態のUSBドングル50Aには、通信先をサーバ21に限定するソフトウェアが組み込まれている。 On the other hand, the USB dongle 50A is connected to the Internet 20 through a dedicated line. Unlike the shared line, the dedicated line is a line for the purpose of communication between the electronic device 1 and the server 21 and preferably has specifications that the user cannot change freely. In the USB dongle 50A of the present embodiment, software that limits the communication destination to the server 21 is incorporated.
 サーバ21は、施設100の外部に設けられて、事業者(例えば電気事業者又は機器メーカ)によって管理される。図2で図示されるサーバ21の数は1つであるが、電子機器1の通信先であるサーバの数は、2つ以上であってもよい。電子機器1は、サーバ21から受信する種々のデータに基づいて、機器15の制御を行なってもよい。 The server 21 is provided outside the facility 100 and is managed by a business operator (for example, an electric power company or a device manufacturer). Although the number of servers 21 illustrated in FIG. 2 is one, the number of servers that are communication destinations of the electronic device 1 may be two or more. The electronic device 1 may control the device 15 based on various data received from the server 21.
 (2.2)電子機器
 以下、電子機器1の構成要素について、図1及び図2を参照しながら詳しく説明する。電子機器1は、図1に示すように、第1通信インタフェース11と、第2通信インタフェース12と、第3通信インタフェース13と、第4通信インタフェース14とを備える。更に、電子機器1は、電源部3と、制御回路4と、記憶部7と、表示部8とを備える。以下の説明では、特に断りの無い限り、「通信インタフェース」を単に「通信I/F」という。
(2.2) Electronic Device Hereinafter, components of the electronic device 1 will be described in detail with reference to FIGS. 1 and 2. As shown in FIG. 1, the electronic device 1 includes a first communication interface 11, a second communication interface 12, a third communication interface 13, and a fourth communication interface 14. The electronic device 1 further includes a power supply unit 3, a control circuit 4, a storage unit 7, and a display unit 8. In the following description, “communication interface” is simply referred to as “communication I / F” unless otherwise specified.
 第1通信I/F11は、2つの接続ポート2(第1の接続ポート2A及び第2の接続ポート2B)から構成される。第1及び第2の接続ポート2A,2Bの各々は、USBポートである。本実施形態における第1の接続ポート2A及び第2の接続ポート2Bは、USBインタフェースの規格としてUSB2.0に準拠していることが好ましい。 The first communication I / F 11 includes two connection ports 2 (a first connection port 2A and a second connection port 2B). Each of the first and second connection ports 2A and 2B is a USB port. The first connection port 2A and the second connection port 2B in the present embodiment preferably conform to USB 2.0 as the USB interface standard.
 本実施形態では、一例として、USBドングル50A(のコネクタ501A)、又はUSBメモリ50B(のコネクタ501B)がいずれかの接続ポート2に挿入接続されることを想定する。しかし、USBデバイスであれば、これらに限定されない。例えば、電子機器1の施工時に、電子機器1内の各種パラメータの設定又はプログラムの書き込みを行うための専用のUSBデバイスが接続されてもよい。第1及び第2の接続ポート2A,2Bは、電子機器1内の基板上に実装されている。第1及び第2の接続ポート2A,2Bは、電気配線を介して、当該基板に実装された制御回路4と電気的に接続されている。 In this embodiment, as an example, it is assumed that the USB dongle 50A (connector 501A) or the USB memory 50B (connector 501B) is inserted and connected to one of the connection ports 2. However, the device is not limited to these as long as it is a USB device. For example, when the electronic device 1 is installed, a dedicated USB device for setting various parameters in the electronic device 1 or writing a program may be connected. The first and second connection ports 2 </ b> A and 2 </ b> B are mounted on a substrate in the electronic device 1. The first and second connection ports 2A and 2B are electrically connected to the control circuit 4 mounted on the board via electric wiring.
 第2通信I/F12は、ルータ22と通信可能に構成されている。本実施形態では、第2通信I/F12は、例えばWi-Fi(登録商標)認証を得た無線LAN(Local Area Network)の通信規格に準拠した無線通信モジュールを介して、ルータ22と通信可能に構成されている。この無線通信モジュールは、電子機器1に内蔵されていてもよいし、電子機器1と別体に設けられていてもよい。また、第2通信I/F12は、有線によりルータ22と通信可能に構成されていてもよい。この場合、第2通信I/F12は、例えばルータ22に接続されるLANケーブルのコネクタが差し込まれるLANポートで構成される。第2通信I/F12は、電子機器1において必須ではない。 The second communication I / F 12 is configured to be able to communicate with the router 22. In the present embodiment, the second communication I / F 12 can communicate with the router 22 via a wireless communication module compliant with, for example, a wireless LAN (Local Area Network) communication standard obtained with Wi-Fi (registered trademark) authentication. It is configured. This wireless communication module may be built in the electronic device 1 or may be provided separately from the electronic device 1. The second communication I / F 12 may be configured to be communicable with the router 22 by wire. In this case, the second communication I / F 12 is configured by a LAN port into which a connector of a LAN cable connected to the router 22 is inserted, for example. The second communication I / F 12 is not essential in the electronic device 1.
 第3通信I/F13は、複数の機器15のうちの照明器具15A、エアーコンディショナ15B、給湯機15C、温湿度センサ15D及び分電盤15Eと通信可能に構成されている。第3通信I/F13は、例えばECHONET Lite(登録商標)又はBluetooth(登録商標)等の通信規格に準拠した無線通信モジュールを介して、機器15と通信可能に構成されている。その他、第3通信I/F13は、例えばDECT(Digital Enhanced Cordless Telecommunications)(登録商標)等の通信規格に準拠した無線通信モジュールを介して、機器15と通信可能に構成されていてもよい。これらの無線通信モジュールは、電子機器1に内蔵されていてもよいし、電子機器1と別体に設けられていてもよい。第3通信I/F13は、電子機器1において必須ではない。 The third communication I / F 13 is configured to be able to communicate with the lighting fixture 15A, the air conditioner 15B, the water heater 15C, the temperature / humidity sensor 15D, and the distribution board 15E among the plurality of devices 15. The third communication I / F 13 is configured to be able to communicate with the device 15 via a wireless communication module compliant with a communication standard such as ECHONET Lite (registered trademark) or Bluetooth (registered trademark). In addition, the third communication I / F 13 may be configured to be able to communicate with the device 15 via a wireless communication module compliant with a communication standard such as DECT (Digital Enhanced Cordless Telecommunications) (registered trademark). These wireless communication modules may be built in the electronic device 1 or may be provided separately from the electronic device 1. The third communication I / F 13 is not essential in the electronic device 1.
 第4通信I/F14は、複数の機器15のうちのメータ装置15Fと通信可能に構成されている。第4通信I/F14は、例えばWi-SUN(登録商標)のいわゆるBルート対応の通信規格に準拠した無線通信モジュールを介して、メータ装置15Fと通信可能に構成されている。この無線通信モジュールは、電子機器1に内蔵されていてもよいし、電子機器1とは別体に設けられていてもよい。無線通信モジュールがWi-SUNのいわゆるHAN(Home Area Network)ルート対応の通信規格に準拠していれば、第4通信I/F14は、メータ装置15F以外の機器15とも通信可能に構成される。第4通信I/F14は、電子機器1において必須ではない。 4th communication I / F14 is comprised so that communication with the meter apparatus 15F of the some apparatuses 15 is possible. The fourth communication I / F 14 is configured to be able to communicate with the meter device 15F via a wireless communication module that complies with a so-called B-route compatible communication standard of Wi-SUN (registered trademark), for example. The wireless communication module may be built in the electronic device 1 or may be provided separately from the electronic device 1. If the wireless communication module conforms to a so-called HAN (Home Area Network) route communication standard of Wi-SUN, the fourth communication I / F 14 is configured to be communicable with a device 15 other than the meter device 15F. The fourth communication I / F 14 is not essential in the electronic device 1.
 あるいは、第4通信I/F14は、電力線搬送通信(Power Line Communication:PLC)の技術を用いて、メータ装置15Fと通信可能に構成されていてもよい。この場合、第4通信I/F14は、PLCアダプタに接続されるLANケーブルのコネクタが差し込まれるLANポートで構成される。 Alternatively, the fourth communication I / F 14 may be configured to be able to communicate with the meter device 15F using a power line communication (PLC) technique. In this case, the fourth communication I / F 14 is configured by a LAN port into which a connector of a LAN cable connected to the PLC adapter is inserted.
 要するに、電子機器1において、第3通信I/F13及び第4通信I/F14は、いずれもインターネット20を介さずに、機器15と通信可能に構成され、サーバ21とは通信しないように構成されている。そして、第1通信I/F11は、第3通信I/F13及び第4通信I/F14の用いる通信プロトコルとは異なる通信プロトコルにより、USBドングル50Aを通じてサーバ21と通信可能となる。 In short, in the electronic device 1, the third communication I / F 13 and the fourth communication I / F 14 are both configured to be able to communicate with the device 15 without going through the Internet 20, and configured not to communicate with the server 21. ing. The first communication I / F 11 can communicate with the server 21 through the USB dongle 50A using a communication protocol different from the communication protocol used by the third communication I / F 13 and the fourth communication I / F 14.
 第3通信I/F13と第4通信I/F14とは、1つの通信I/Fで構成されていてもよい。この場合、この通信I/Fは、通信プロトコルを変更することで、複数種類の機器15と通信可能に構成される。例えば、Wi-SUNを用いたスマートメータとの通信と、ECHONET Lite(登録商標)を用いた電気機器との通信とは、920MHz帯を用いる1つの無線通信I/Fで行われてもよい。 3rd communication I / F13 and 4th communication I / F14 may be comprised by one communication I / F. In this case, the communication I / F is configured to be able to communicate with a plurality of types of devices 15 by changing the communication protocol. For example, communication with a smart meter using Wi-SUN and communication with an electric device using ECHONET Lite (registered trademark) may be performed by one wireless communication I / F using the 920 MHz band.
 電源部3は、第1通信I/F11の第1の接続ポート2A及び/又は第2の接続ポート2Bに接続されたデバイス50に電力を供給するように構成される。USBドングル50Aは、例えばUSB2.0による規格で定められている電流の上限値(500mA)を超える電流の供給を必要とする場合もある。そのため、電源部3は、USBドングル50Aに対して、上限値を超える電流を供給できるように構成されている。電源部3を構成する回路は、そのような上限値を超えた電流の供給に対する回路ストレスに耐えられるように設計されていることが望ましい。 The power supply unit 3 is configured to supply power to the device 50 connected to the first connection port 2A and / or the second connection port 2B of the first communication I / F 11. The USB dongle 50A may need to supply a current that exceeds the upper limit value (500 mA) of the current defined in the USB 2.0 standard, for example. Therefore, the power supply unit 3 is configured to supply a current exceeding the upper limit value to the USB dongle 50A. It is desirable that the circuit constituting the power supply unit 3 is designed so as to be able to withstand circuit stress with respect to the supply of current exceeding the upper limit value.
 電源部3は、デバイス50が接続ポート2に接続されると、当該接続ポート2の電源供給ライン(VBUS)を通じてデバイス50への電力(例えば5Vの動作電圧)の供給を開始する。すなわち、デバイス50は、外部電源を必要とすることなく電子機器1から供給される電力により動作することができる。また、電源部3は、当該デバイス50の接続が解除されると、電力供給を終了する。 When the device 50 is connected to the connection port 2, the power supply unit 3 starts supplying power (for example, 5 V operating voltage) to the device 50 through the power supply line (VBUS) of the connection port 2. In other words, the device 50 can operate with the electric power supplied from the electronic device 1 without requiring an external power source. Moreover, the power supply part 3 will complete | finish power supply, if the connection of the said device 50 is cancelled | released.
 また、電源部3は、(後述の)制御部41から「遮断信号」を受け取ると、該当する接続ポート2への電力供給を緊急停止する。電源部3は、例えば該当する接続ポート2の電源供給ラインに接続されているスイッチ素子をオン状態からオフ状態へ切り替えることで、該当するデバイス50への供給路を遮断する。電源部3は、この供給路の遮断状態においてデバイス50の接続が解除されると、上記スイッチ素子を元のオン状態へ戻す。 Further, upon receiving a “cutoff signal” from the control unit 41 (described later), the power supply unit 3 urgently stops the power supply to the corresponding connection port 2. The power supply unit 3 blocks the supply path to the corresponding device 50 by switching the switch element connected to the power supply line of the corresponding connection port 2 from the on state to the off state, for example. When the connection of the device 50 is released while the supply path is cut off, the power supply unit 3 returns the switch element to the original ON state.
 表示部8は、例えばLED(Light Emitting Diode)等の発光素子で構成されている。表示部8は、例えば液晶ディスプレイ等で構成されていてもよい。表示部8は、使用されている通信I/Fに応じて異なる発光色で発光するように構成される。表示部8は、電子機器1とは別体に設けられてもよい。 The display unit 8 is composed of a light emitting element such as an LED (Light Emitting Diode). The display unit 8 may be configured with, for example, a liquid crystal display. The display unit 8 is configured to emit light with different emission colors depending on the communication I / F being used. The display unit 8 may be provided separately from the electronic device 1.
 制御回路4は、監視部40と、制御部41と、通信部42とを備える。制御回路4は、記憶部7内に記憶されたプログラムを実行することで、監視部40、制御部41、及び通信部42の各種の機能を実現してもよい。プログラムは、予め記憶部7に書き込まれていてもよいが、メモリカードのような記録媒体に記憶されて提供されてもよいし、USBデバイス50を通じて提供されてもよいし、電気通信回線を通じて提供されてもよい。また、監視部40、制御部41及び通信部42の少なくとも一部が、制御回路4とは別のハードウェアで構成されてもよい。 The control circuit 4 includes a monitoring unit 40, a control unit 41, and a communication unit 42. The control circuit 4 may realize various functions of the monitoring unit 40, the control unit 41, and the communication unit 42 by executing a program stored in the storage unit 7. The program may be written in the storage unit 7 in advance, but may be provided by being stored in a recording medium such as a memory card, may be provided through the USB device 50, or provided through an electric communication line. May be. In addition, at least a part of the monitoring unit 40, the control unit 41, and the communication unit 42 may be configured by hardware different from the control circuit 4.
 制御回路4の監視部40は、第1通信I/F11の第1の接続ポート2A及び第2の接続ポート2Bの電源供給ラインを通じてデバイス50に流れる電流(消費電流)をそれぞれ監視する。監視部40は、例えば、電源供給ラインに直列接続されたシャント抵抗器に流れる電流を監視する。あるいは、監視部40は、CT(Current Transformer)を用いて電流を監視してもよい。 The monitoring unit 40 of the control circuit 4 monitors the current (current consumption) flowing through the device 50 through the power supply lines of the first connection port 2A and the second connection port 2B of the first communication I / F 11, respectively. For example, the monitoring unit 40 monitors the current flowing in the shunt resistor connected in series to the power supply line. Alternatively, the monitoring unit 40 may monitor the current using CT (Current Transformer).
 監視部40は、デバイス50の接続を検出すると、「接続信号」を制御部41へ送信する。ここで言うデバイス50の接続とは、デバイス50がいずれかの接続ポート2に対して物理的及び電気的に接続されたことを意味する。監視部40は、例えば各接続ポート2の電源供給ラインを監視して電流値に変化があれば、デバイス50が接続されたと判定してもよい。 When the monitoring unit 40 detects the connection of the device 50, the monitoring unit 40 transmits a “connection signal” to the control unit 41. Here, the connection of the device 50 means that the device 50 is physically and electrically connected to any one of the connection ports 2. For example, the monitoring unit 40 may monitor the power supply line of each connection port 2 and determine that the device 50 is connected if there is a change in the current value.
 また監視部40は、デバイス50と接続ポート2との接続状態が解除された(デバイス50が接続ポート2から抜き去られた)ことを検出すると、「解除信号」を制御部41へ送信する。接続信号及び解除信号は、制御部41で該当する接続ポート2を識別するための情報を含んでいる。 When the monitoring unit 40 detects that the connection state between the device 50 and the connection port 2 is released (the device 50 is removed from the connection port 2), the monitoring unit 40 transmits a “release signal” to the control unit 41. The connection signal and the release signal include information for identifying the corresponding connection port 2 by the control unit 41.
 監視部40は、電源供給ラインを流れる消費電流が所定の閾値を超えた場合に、過電流の発生を示す「異常信号」を制御部41へ送信する。異常信号は、制御部41で該当する接続ポート2を識別するための情報を含んでいる。このとき監視部40は、更に、外部に過電流の発生を報知するように表示部8に設けられた異常ランプを点灯させてもよい。 The monitoring unit 40 transmits an “abnormal signal” indicating the occurrence of overcurrent to the control unit 41 when the consumption current flowing through the power supply line exceeds a predetermined threshold. The abnormal signal includes information for identifying the corresponding connection port 2 by the control unit 41. At this time, the monitoring unit 40 may further turn on an abnormal lamp provided in the display unit 8 so as to notify the occurrence of overcurrent to the outside.
 制御回路4の通信部42は、各接続ポート2のデータライン(D+,D-)を通じて、該当する接続ポート2に接続されたデバイス50と通信するように構成される。接続ポート2に接続されたデバイス50がUSBドングル50Aであるとき、通信部42は、例えば機器15から取得した機器情報(例えば電力の消費量のデータ)を、USBドングル50Aを介してサーバ21に向けて送信する。 The communication unit 42 of the control circuit 4 is configured to communicate with the device 50 connected to the corresponding connection port 2 through the data line (D +, D−) of each connection port 2. When the device 50 connected to the connection port 2 is the USB dongle 50A, the communication unit 42 sends device information (for example, power consumption data) acquired from the device 15 to the server 21 via the USB dongle 50A, for example. Send to.
 通信部42は、サーバ21から上記機器情報を要求するための要求信号を受信したことをトリガーとして上記機器情報をサーバ21へ送信してもよいし、定期的に上記機器情報をサーバ21へ送信してもよい。また、通信部42は、USBドングル50Aを介してサーバ21から、例えば特定の機器15を制御するための制御コマンドを受信してもよい。 The communication unit 42 may transmit the device information to the server 21 triggered by receiving a request signal for requesting the device information from the server 21, or periodically transmit the device information to the server 21. May be. Further, the communication unit 42 may receive a control command for controlling, for example, a specific device 15 from the server 21 via the USB dongle 50A.
 通信部42は、機器15から取得した上記機器情報を第2通信I/F12を通じてサーバ21へ送信してもよい。また、通信部42は、第2通信I/F12を通じてサーバ21から機器情報(例えば特定の機器15の制御コマンド)を受信してもよい。 The communication unit 42 may transmit the device information acquired from the device 15 to the server 21 through the second communication I / F 12. The communication unit 42 may receive device information (for example, a control command for a specific device 15) from the server 21 through the second communication I / F 12.
 通信部42は、第3通信I/F13又は第4通信I/F14を介して機器15との間で、機器15に関する機器情報の送信及び受信を行う。機器情報は、例えば機器15での電力の消費量のデータ、又は機器15を制御するための制御コマンドなどを含む。また、機器情報は、分電盤15Eで計測された主幹回路の電力量及び/又は分岐回路ごとの電力量などの計測情報も含む。 The communication unit 42 transmits and receives device information related to the device 15 with the device 15 via the third communication I / F 13 or the fourth communication I / F 14. The device information includes, for example, power consumption data in the device 15 or a control command for controlling the device 15. The device information also includes measurement information such as the power amount of the main circuit and / or the power amount of each branch circuit measured by the distribution board 15E.
 例えば、通信部42は、第3通信I/F13を介して照明器具15Aから機器情報(電力の消費量のデータ)を受信する。また、通信部42は、第4通信I/F14を介してメータ装置15Fから機器情報(電力の消費量のデータ)を受信する。また、通信部42は、第3通信I/F13を介してエアーコンディショナ15Bに向けて制御コマンドを送信する。 For example, the communication unit 42 receives device information (power consumption data) from the lighting fixture 15A via the third communication I / F 13. The communication unit 42 also receives device information (power consumption data) from the meter device 15F via the fourth communication I / F 14. Moreover, the communication part 42 transmits a control command toward the air conditioner 15B via the 3rd communication I / F13.
 ここで、通信部42は、デバイス50がいずれかの接続ポート2に接続されたときに当該デバイス50から接続ポート2のデータラインを介して、種別情報を含んだデバイス情報を取得する。種別情報とは、当該デバイス50の種類を特定するための情報である。種別情報は、一例として、当該デバイス50自身のプロダクト(Product)IDとベンダー(Vendor)IDを含む。以下では、プロダクトIDを単に「PID」とよび、ベンダーIDを単に「VID」とよぶ。上記デバイス情報は、種別情報以外にも、当該デバイス50自身の定格電流に関する情報を含んでいてもよい。 Here, when the device 50 is connected to any one of the connection ports 2, the communication unit 42 acquires device information including type information from the device 50 via the data line of the connection port 2. The type information is information for specifying the type of the device 50. For example, the type information includes a product ID and a vendor ID of the device 50 itself. Hereinafter, the product ID is simply referred to as “PID” and the vendor ID is simply referred to as “VID”. The device information may include information related to the rated current of the device 50 itself in addition to the type information.
 制御回路4の制御部41は、監視部40から受け取る信号に応じた処理を行う。具体的には、制御部41は、監視部40から接続信号を受け取ると、該当する接続ポート2にデバイス50が挿入接続されたと判断し、閾値の設定処理を実行する。また、制御部41は、監視部40から解除信号を受け取ると、該当するデバイス50と接続ポート2との接続状態が解除されたと判断し、例えば閾値を元の初期値に戻すなどの処理を実行する。 The control unit 41 of the control circuit 4 performs processing according to the signal received from the monitoring unit 40. Specifically, when receiving a connection signal from the monitoring unit 40, the control unit 41 determines that the device 50 is inserted and connected to the corresponding connection port 2, and executes threshold setting processing. Further, when receiving the release signal from the monitoring unit 40, the control unit 41 determines that the connection state between the corresponding device 50 and the connection port 2 has been released, and executes processing such as returning the threshold value to the original initial value, for example. To do.
 また、制御部41は、監視部40から異常信号を受け取ると、該当する接続ポート2に接続されたデバイス50に異常があり、過電流が発生していると判断する。そして、制御部41は、当該接続ポート2の電源供給ラインを通じての電力供給を緊急停止するように電源部3に指示する。すなわち、制御部41は、電源部3へ遮断信号を送信する。 Further, when receiving the abnormality signal from the monitoring unit 40, the control unit 41 determines that there is an abnormality in the device 50 connected to the corresponding connection port 2 and an overcurrent has occurred. Then, the control unit 41 instructs the power supply unit 3 to urgently stop the power supply through the power supply line of the connection port 2. That is, the control unit 41 transmits a cutoff signal to the power supply unit 3.
 以下、閾値の設定処理について詳しく説明する。本実施形態の制御部41は、デバイス50がいずれかの接続ポート2に接続されると、閾値の設定処理を実行する。制御部41は、この設定処理において、当該デバイス50から通信部42を介して少なくとも種別情報を含むデバイス情報を取得し、この種別情報の種別に基づいて、当該デバイス50の種類を判定する。つまり、制御部41は、当該デバイス50の種類が、第1の種類及び第2の種類のいずれに該当するか判定する。そして、制御部41は、この設定処理において、その種類に対応した設定値を、監視部40において過電流の判定に用いられる上記閾値に設定する。 Hereinafter, the threshold setting process will be described in detail. When the device 50 is connected to any one of the connection ports 2, the control unit 41 according to the present embodiment executes threshold setting processing. In this setting process, the control unit 41 acquires device information including at least type information from the device 50 via the communication unit 42, and determines the type of the device 50 based on the type of the type information. That is, the control unit 41 determines whether the type of the device 50 corresponds to the first type or the second type. And in this setting process, the control part 41 sets the setting value corresponding to the kind to the said threshold value used for determination of overcurrent in the monitoring part 40. FIG.
 具体的には、制御部41は、接続ポート2に接続されたデバイス50の種別情報を通信部42から受け取ると、記憶部7内に予め記憶された設定データを参照する。当該設定データでは、例えば表1に示すように、複数種類のデバイスに関する複数の種別情報(複数組のPID及びVID)と複数の設定値とがそれぞれ対応付けされている。 Specifically, when receiving the type information of the device 50 connected to the connection port 2 from the communication unit 42, the control unit 41 refers to the setting data stored in advance in the storage unit 7. In the setting data, for example, as shown in Table 1, a plurality of type information (a plurality of sets of PIDs and VIDs) related to a plurality of types of devices and a plurality of setting values are associated with each other.
Figure JPOXMLDOC01-appb-T000001
Figure JPOXMLDOC01-appb-T000001
 表1の設定データの例では、1組のPID“XXX1”及びVID“YYYY”が特定の無線通信機能を有する第1の種類のデバイスに相当する。同様に、1組のPID“XXX2”及びVID“YYYY”も、第1の種類のデバイスに相当する。本実施形態では第1の種類のデバイスがLTEドングルであることを想定しているが、特定の無線通信機能を有するデバイスであれば他のデバイスを含んでもよい。 In the example of setting data in Table 1, one set of PID “XXX1” and VID “YYYY” corresponds to a first type device having a specific wireless communication function. Similarly, a set of PID “XXX2” and VID “YYYY” also corresponds to the first type of device. In the present embodiment, it is assumed that the first type of device is an LTE dongle, but other devices may be included as long as the device has a specific wireless communication function.
 第1の種類のデバイスは、USBインタフェースの規格(例えばUSB2.0)における電流の上限値(例えば500mA)を超える電流の供給を必要とする場合がある。特に、例えばLTEドングルのように無線通信機能を有したデバイスは、この上限値を超える電流の供給を必要とする場合がある。そのため、上記閾値に設定される設定値も、少なくとも上限値より大きい必要がある。そこで、上記設定データにおける第1の種類のデバイスに対応する第1の設定値“ZZZ1”及び“ZZZ2”は、いずれも例えば500mAよりも大きい値である。 The first type of device may need to supply a current exceeding the upper limit value (eg, 500 mA) of the current in the USB interface standard (eg, USB 2.0). In particular, a device having a wireless communication function such as an LTE dongle may need to supply a current exceeding this upper limit value. For this reason, the set value set for the threshold value needs to be at least larger than the upper limit value. Therefore, the first setting values “ZZZ1” and “ZZZ2” corresponding to the first type device in the setting data are both values larger than 500 mA, for example.
 一方、表1の設定データの例では、1組のPID“AAAA”及びVID“BBBB”が特定の無線通信機能を有さない第2の種類のデバイスに相当する。同様に、1組のPID“DDDD”及びVID“EEEE”も、第2の種類のデバイスに相当する。本実施形態では第2の種類のデバイスがUSBメモリであることを想定しているが、特定の無線通信機能を有さないデバイスであれば他のデバイスでもよい。 On the other hand, in the example of setting data in Table 1, one set of PID “AAAA” and VID “BBBB” corresponds to a second type of device that does not have a specific wireless communication function. Similarly, a set of PID “DDDD” and VID “EEEE” also corresponds to the second type of device. In the present embodiment, it is assumed that the second type device is a USB memory, but other devices may be used as long as they do not have a specific wireless communication function.
 第2の種類のデバイスは、USBインタフェースの規格(例えばUSB2.0)における電流の上限値を超えるような電流の供給を必要としない。例えば、USBメモリのようなデバイスは、上限値を超えるような電流の供給を必要としない。そのため、第2の種類のデバイスに関して、上記閾値に設定される設定値が、第1の種類のデバイスに対応する第1の設定値のように上限値より大きいと、過電流が発生しても十分に検出できない恐れがある。そこで、上記設定データにおける第2の種類のデバイスに対応する第2の設定値“CCCC”及び“FFFF”は、いずれも例えば500mA以下である。要するに、第2の設定値は、第1の設定値よりも小さい。 The second type device does not need to supply a current exceeding the upper limit value of the current in the USB interface standard (for example, USB 2.0). For example, a device such as a USB memory does not need to supply a current exceeding the upper limit value. Therefore, for the second type device, if the set value set for the threshold is larger than the upper limit value, such as the first set value corresponding to the first type device, an overcurrent may occur. There is a possibility that it cannot be detected sufficiently. Therefore, the second setting values “CCCC” and “FFFF” corresponding to the second type device in the setting data are both 500 mA or less, for example. In short, the second set value is smaller than the first set value.
 制御部41は、取得した種別情報に含まれるPID及びVIDが、設定データ内の複数組のPID及びVID中に存在するか否か設定データをサーチする。一致するPID及びVIDの組が見つかれば、制御部41は、そのPID及びVIDに対応付けされている設定値を、当該接続ポート2に対応する閾値として記憶部7に格納する。もし、一致するPID及びVIDの組が見つからなければ、エラーとして表示部8に表示させてもよいし、予め決められた初期値を当該接続ポート2に対応する閾値として記憶部7に格納してもよい。 The control unit 41 searches the setting data to determine whether or not the PID and VID included in the acquired type information exist in a plurality of sets of PIDs and VIDs in the setting data. If a matching pair of PID and VID is found, the control unit 41 stores the setting value associated with the PID and VID in the storage unit 7 as a threshold corresponding to the connection port 2. If a matching pair of PID and VID is not found, it may be displayed on the display unit 8 as an error, or a predetermined initial value is stored in the storage unit 7 as a threshold corresponding to the connection port 2. Also good.
 監視部40は、上記のように設定された閾値を用いて、対応する電源供給ラインを流れる消費電流が当該閾値を超えたか否か判定する。したがって、電子機器1は、種々のデバイス50について、過電流に対する接続ポート2の保護性能を向上させることができる。 The monitoring unit 40 determines whether the consumption current flowing through the corresponding power supply line exceeds the threshold value using the threshold value set as described above. Therefore, the electronic device 1 can improve the protection performance of the connection port 2 against overcurrent for various devices 50.
 記憶部7は、各接続ポート2に対応する閾値を格納することが可能である。要するに、本実施形態では、接続ポート2の数が2つであるため、記憶部7は、2つの接続ポート2にそれぞれ対応する2つの閾値を記憶する。言うまでも無く、接続ポート2の数が例えば5つであれば、記憶部7は、5つの接続ポート2にそれぞれ対応する5つの閾値を記憶してもよい。 The storage unit 7 can store a threshold corresponding to each connection port 2. In short, in the present embodiment, since the number of connection ports 2 is two, the storage unit 7 stores two threshold values respectively corresponding to the two connection ports 2. Needless to say, if the number of connection ports 2 is five, for example, the storage unit 7 may store five threshold values respectively corresponding to the five connection ports 2.
 つまり、制御部41は、複数の接続ポート2毎に、上述した閾値の設定処理を実行する。したがって、接続ポート2が複数設けられている場合であっても、接続ポート2単位で過電流に対する保護性能を向上させることができる。 That is, the control unit 41 executes the threshold value setting process described above for each of the plurality of connection ports 2. Therefore, even when a plurality of connection ports 2 are provided, the protection performance against overcurrent can be improved in connection port 2 units.
 また、制御部41は、デバイス50の種類が「特定の種類」であると判定したとき、当該デバイス50から取得したデバイス情報に含まれる設定値を直接閾値に設定してもよい。ここで言う「特定の種類」は、特定の無線通信機能の有無の別ではなく、取得するデバイス情報内における設定値の有無の別である。例えば、特定のVIDを有する全て(又は一部)のデバイスに関して、デバイス自身の設定値がデバイス情報に含まれていることが予め知られている場合、この特定のVIDを有する全て(又は一部)のデバイスが「特定の種類」に属する。取得したデバイス情報内に当該デバイス50自身の定格電流に関する情報が含まれる場合、制御部41は、当該定格電流に所定の値を加算した上で閾値に設定してもよい。 Further, when the control unit 41 determines that the type of the device 50 is “specific type”, the control unit 41 may directly set the setting value included in the device information acquired from the device 50 as the threshold value. The “specific type” mentioned here is not the presence / absence of a specific wireless communication function but the presence / absence of a set value in the acquired device information. For example, when it is known in advance that the setting value of the device itself is included in the device information for all (or a part) of devices having a specific VID, all (or a part) of the specific VID is included. ) Device belongs to “specific type”. When information about the rated current of the device 50 itself is included in the acquired device information, the control unit 41 may set a threshold value after adding a predetermined value to the rated current.
 このように設定値(又は定格電流)をデバイス50から直接取得することで、当該デバイス50に対してより適した閾値を用いて過電流の検出を行うことができる。したがって、電子機器1は、過電流に対する接続ポート2の保護性能をさらに向上させることができる。 In this way, by directly acquiring the set value (or rated current) from the device 50, it is possible to detect overcurrent using a threshold value that is more suitable for the device 50. Therefore, the electronic device 1 can further improve the protection performance of the connection port 2 against overcurrent.
 表1の設定データでは、1組のPID及びVIDに、1つの設定値が対応付けされている。つまり、PID“XXX1”及びVID“YYYY”と、PID“XXX2”及びVID“YYYY”は、同じ第1の種類に属していても互いに異なる第1の設定値“ZZZ1”及び“ZZZ2”がそれぞれ対応付けされている。しかし、複数組のPID及びVIDに対して1つの設定値が対応付けされていてもよい。つまり、第1の種類に属する複数組のPID及びVIDに対して共通の第1の設定値(例えば“ZZZ1”)が対応付けされていてもよい。同様に、第2の種類に属する複数組のPID及びVIDに対して共通の第2の設定値(例えば“CCCC”)が対応付けされていてもよい。 In the setting data in Table 1, one set value is associated with one set of PID and VID. That is, PID “XXX1” and VID “YYYY” and PID “XXX2” and VID “YYYY” have different first set values “ZZZ1” and “ZZZ2” even though they belong to the same first type. It is associated. However, one set value may be associated with a plurality of sets of PIDs and VIDs. That is, a common first setting value (for example, “ZZZ1”) may be associated with a plurality of sets of PIDs and VIDs belonging to the first type. Similarly, a common second setting value (for example, “CCCC”) may be associated with a plurality of sets of PIDs and VIDs belonging to the second type.
 更に、設定データは、第1の種類に属する複数組のPID及びVIDと、それぞれ対応する複数の第1の設定値(あるいは共通の第1の設定値)のみを含んでいてもよい。要するに、設定データは、第2の種類に属するPID及びVIDのデータを含んでいなくてもよい。 Furthermore, the setting data may include only a plurality of sets of PIDs and VIDs belonging to the first type and a plurality of corresponding first setting values (or common first setting values). In short, the setting data may not include PID and VID data belonging to the second type.
 この場合、制御部41は、接続ポート2に接続されたデバイス50のPID及びVIDが設定データに存在すれば、当該デバイス50の種類を第1の種類と判定する。そして、制御部41は、記憶部7内における当該接続ポート2に対応する閾値として、対応する第1の設定値を設定する。一方、制御部41は、接続ポート2に接続されたデバイス50のPID及びVIDが設定データに存在しなければ、当該デバイス50の種類を第2の種類と判定する。そして、制御部41は、記憶部7内における当該接続ポート2に対応する閾値として、予め決められた初期値を設定してもよい。 In this case, if the PID and VID of the device 50 connected to the connection port 2 exist in the setting data, the control unit 41 determines the type of the device 50 as the first type. Then, the control unit 41 sets a corresponding first set value as a threshold value corresponding to the connection port 2 in the storage unit 7. On the other hand, if the PID and VID of the device 50 connected to the connection port 2 do not exist in the setting data, the control unit 41 determines that the type of the device 50 is the second type. Then, the control unit 41 may set a predetermined initial value as a threshold value corresponding to the connection port 2 in the storage unit 7.
 この初期値は、共通の第2の設定値(例えば“CCCC”)であることが好ましい。記憶部7は、複数の接続ポート2に対応する全ての閾値として、共通の第2の設定値を予め記憶していてもよい。そして、制御部41は、接続ポート2に接続されたデバイス50の種類が第1の種類であると判定した場合のみ、記憶部7内における当該接続ポート2に対応する閾値として、第2の設定値から第1の設定値に一時的に変更してもよい。その後、制御部41は、当該デバイス50と当該接続ポート2との接続状態が解除されたという情報を監視部40から受け取ると(解除信号の受信)、記憶部7内における当該接続ポート2に対応する閾値として、第1の設定値から元の第2の設定値へ戻してもよい。 This initial value is preferably a common second set value (for example, “CCCC”). The storage unit 7 may store in advance a common second set value as all threshold values corresponding to the plurality of connection ports 2. The control unit 41 sets the second setting as the threshold corresponding to the connection port 2 in the storage unit 7 only when the type of the device 50 connected to the connection port 2 is determined to be the first type. The value may be temporarily changed to the first set value. Thereafter, when the control unit 41 receives information from the monitoring unit 40 (reception of a release signal) that the connection state between the device 50 and the connection port 2 is released, the control unit 41 corresponds to the connection port 2 in the storage unit 7. As the threshold value to be used, the first set value may be returned to the original second set value.
 このように第1の設定値から元の第2の設定値へ戻す構成であれば、電子機器1は、少なくとも2つの設定値(第1の設定値と第2の設定値)を保持するだけでよく、電子機器1内のデータ量を減らすことができる。また、第1の種類のデバイス50が接続されている状態以外では、常時第2の設定値が上記閾値に設定されているため、制御部41にてデバイス50の種類の判定に失敗した場合でも、接続ポート2の保護性能をある程度に確保することができる。 Thus, if it is the structure which returns from a 1st setting value to the original 2nd setting value, the electronic device 1 will only hold | maintain at least 2 setting values (a 1st setting value and a 2nd setting value). The amount of data in the electronic device 1 can be reduced. Also, except when the first type device 50 is connected, the second set value is always set to the threshold value, so even if the control unit 41 fails to determine the type of the device 50, The protection performance of the connection port 2 can be ensured to some extent.
 記憶部7に記憶される設定データの更新は、デバイス50を通じて取得されたデータを用いて行なってもよい。つまり、USBメモリ50B内にPID、VID及び設定値に関するデータが記憶されている場合、制御部41は、いずれかの接続ポート2に接続されたUSBメモリ50Bから当該データを取得して、設定データを更新してもよい。あるいは、サーバ21内に上記データが格納されている場合、制御部41は、いずれかの接続ポート2に接続されたUSBドングル50Aを介してサーバ21から当該データを取得して、設定データを更新してもよい。 The setting data stored in the storage unit 7 may be updated using data acquired through the device 50. That is, when data related to the PID, VID, and setting value is stored in the USB memory 50B, the control unit 41 acquires the data from the USB memory 50B connected to any one of the connection ports 2 and sets the setting data. May be updated. Or when the said data is stored in the server 21, the control part 41 acquires the said data from the server 21 via the USB dongle 50A connected to one of the connection ports 2, and updates setting data May be.
 このようにUSBメモリ50B内のデータ又はサーバ21内のデータを用いることで、記憶部7の設定データを容易に更新することができる。また設定データの更新により、制御部41におけるデバイス50の種類の判定精度を高めることができる。 As described above, by using the data in the USB memory 50B or the data in the server 21, the setting data in the storage unit 7 can be easily updated. Further, the determination accuracy of the type of the device 50 in the control unit 41 can be improved by updating the setting data.
 (2.3)閾値の設定処理に関する動作
 以下、電子機器1のいずれかの接続ポート2にデバイス50が接続される場合における電子機器1の閾値の設定処理に関する動作について、図3のフローチャートを参照しながら説明する。
(2.3) Operation Related to Threshold Setting Process Hereinafter, the operation related to the threshold setting process of the electronic device 1 when the device 50 is connected to any one of the connection ports 2 of the electronic device 1 will be described with reference to the flowchart of FIG. While explaining.
 以下では、説明の簡略化のために第1の種類のデバイスは、LTEドングルのみを想定する。したがって、図3中のステップS8における「LTEドングル以外のデバイス」とは、USBメモリ等の特定の無線通信機能を有さない第2の種類のデバイスを意味する。 In the following, for simplicity of explanation, only the LTE dongle is assumed as the first type of device. Therefore, the “device other than the LTE dongle” in step S8 in FIG. 3 means a second type device that does not have a specific wireless communication function such as a USB memory.
 また、以下では、記憶部7に記憶される設定データにおいて、第1の種類に属する複数組のPID及びVIDに対して、共通の第1の設定値が対応付けされていると想定する。また、設定データは、第2の種類に属する種別情報のデータを含んでいないと想定する。したがって、記憶部7は、第1及び第2の接続ポート2A,2Bにそれぞれ対応する2つの閾値として、第2の種類に対応する共通の第2の設定値(初期値)を予め記憶している。 In the following, it is assumed that in the setting data stored in the storage unit 7, a common first setting value is associated with a plurality of sets of PIDs and VIDs belonging to the first type. Further, it is assumed that the setting data does not include data of type information belonging to the second type. Accordingly, the storage unit 7 stores in advance a common second set value (initial value) corresponding to the second type as two threshold values corresponding to the first and second connection ports 2A and 2B, respectively. Yes.
 まず、監視部40は、常時、第1及び第2の接続ポート2A,2Bの電源供給ライン(VBUS)を監視している(ステップS1)。監視部40は、いずれかの電源供給ラインにおける電流値に変化があれば(ステップS2:Yes)、該当する電源供給ラインに対応した接続ポート2にデバイス50が挿入されて電源部3による電力の供給が開始されたと判断する(ステップS3)。そして、監視部40は、接続信号を制御部41に送信する。 First, the monitoring unit 40 constantly monitors the power supply lines (VBUS) of the first and second connection ports 2A and 2B (step S1). If there is a change in the current value in any of the power supply lines (step S2: Yes), the monitoring unit 40 inserts the device 50 into the connection port 2 corresponding to the corresponding power supply line and It is determined that the supply has started (step S3). Then, the monitoring unit 40 transmits a connection signal to the control unit 41.
 一方、監視部40は、いずれの電源供給ラインの電流値にも変化がなければ(ステップS2:No)、デバイス50は未挿入と判断して(ステップS4)、処理はステップS1に戻る。 On the other hand, if there is no change in the current value of any power supply line (step S2: No), the monitoring unit 40 determines that the device 50 is not inserted (step S4), and the process returns to step S1.
 制御部41は、監視部40から接続信号を受信すると、閾値の設定処理を開始する。すなわち、制御部41は、デバイス50の挿入が検出されると、通信部42に対して、該当する接続ポート2のデータラインを通じて、当該デバイス50から種別情報(PID及びVID)を取得するように指示する。そして、制御部41は、通信部42からPID及びVIDを受け取る。制御部41は、取得した種別情報に含まれるPID及びVIDが、記憶部7の設定データ内の第1の種類に属する複数組のPID及びVID中に存在するか否か設定データをサーチする。すなわち、制御部41は、取得したPID及びVIDがLTEドングルに属するPID及びVIDと一致するか否か判定する(ステップS5)。 When the control unit 41 receives a connection signal from the monitoring unit 40, the control unit 41 starts a threshold setting process. That is, when the insertion of the device 50 is detected, the control unit 41 acquires the type information (PID and VID) from the device 50 through the data line of the corresponding connection port 2 to the communication unit 42. Instruct. Then, the control unit 41 receives the PID and VID from the communication unit 42. The control unit 41 searches the setting data to determine whether or not the PID and VID included in the acquired type information are present in a plurality of sets of PIDs and VIDs belonging to the first type in the setting data in the storage unit 7. That is, the control unit 41 determines whether or not the acquired PID and VID match the PID and VID belonging to the LTE dongle (step S5).
 もし、設定データ内に一致するPID及びVIDが存在すれば(ステップS5:Yes)、制御部41は、当該接続ポート2に挿入されたデバイス50がLTEドングルであると判断する(ステップS6)。そして、制御部41は、記憶部7内における当該接続ポート2に対応する閾値に設定されていた初期値(第2の設定値)を、初期値よりも大きい第1の設定値へ変更する(ステップS7)。 If there is a matching PID and VID in the setting data (step S5: Yes), the control unit 41 determines that the device 50 inserted into the connection port 2 is an LTE dongle (step S6). And the control part 41 changes the initial value (2nd setting value) set to the threshold value corresponding to the said connection port 2 in the memory | storage part 7 to the 1st setting value larger than an initial value ( Step S7).
 一方、設定データ内に一致するPID及びVIDが存在しなければ(ステップS5:No)、制御部41は、当該接続ポート2に挿入されたデバイス50が「LTEドングル以外のデバイス」であると判断する(ステップS8)。そして、制御部41は、記憶部7内における当該接続ポート2に対応する閾値として設定されていた初期値(第2の設定値)を維持する(ステップS9)。 On the other hand, if there is no matching PID and VID in the setting data (step S5: No), the control unit 41 determines that the device 50 inserted into the connection port 2 is a “device other than the LTE dongle”. (Step S8). And the control part 41 maintains the initial value (2nd setting value) set as the threshold value corresponding to the said connection port 2 in the memory | storage part 7 (step S9).
 制御部41は、ステップS7(又はステップS9)を経て閾値の設定処理を完了する。そして、監視部40は、記憶部7内における当該接続ポート2に対応する閾値を用いて、対応する電源供給ラインを流れる消費電流を監視する。 The control unit 41 completes the threshold value setting process through step S7 (or step S9). And the monitoring part 40 monitors the consumption current which flows through a corresponding power supply line using the threshold value corresponding to the said connection port 2 in the memory | storage part 7. FIG.
 その後、監視部40は、当該デバイス50の接続状態の解除を検出すると、その情報を制御部41に伝える(解除信号の送信)。制御部41は、記憶部7内における当該接続ポート2に対応する閾値として、もしステップS7を経て第1の設定値へ変更されていれば、第1の設定値から元の初期値(第2の設定値)へ戻す。 Thereafter, when the monitoring unit 40 detects the release of the connection state of the device 50, the monitoring unit 40 transmits the information to the control unit 41 (transmission of a release signal). If the threshold value corresponding to the connection port 2 in the storage unit 7 is changed to the first set value through step S7, the control unit 41 changes the first set value to the original initial value (second To the set value).
 このように、電子機器1は、接続ポート2に挿入されたデバイス50の種類を判定して、その種類に応じた設定値を閾値に設定する。つまり、LTEドングルのようなデバイスは、USB規格の上限値を超える電流の供給を必要とし、過電流を判定するための閾値も高くする必要がある。そこで、上述のように、電子機器1は、接続されたデバイス50がLTEドングルであると判定すると、一時的に初期値(第2の設定値)よりも高い第1の設定値を閾値に設定する。 As described above, the electronic device 1 determines the type of the device 50 inserted into the connection port 2 and sets a setting value corresponding to the type as a threshold value. That is, a device such as an LTE dongle needs to supply a current exceeding the upper limit value of the USB standard, and a threshold for determining an overcurrent needs to be increased. Therefore, as described above, when the electronic device 1 determines that the connected device 50 is the LTE dongle, the electronic device 1 temporarily sets the first setting value higher than the initial value (second setting value) as the threshold value. To do.
 一方、USBメモリのようなデバイスは、USB規格の上限値を超えるような電流の供給を必要とせず、また過電流を判定するための閾値が高く設定されていると逆に過電流の発生を適切に検出できず、過電流に対する検出精度が低下してしまう。そこで、電子機器1は、LTEドングルの接続が解除されれば、閾値を第1の設定値から元の低い初期値(第2の設定値)へ戻す。また、電子機器1は、接続されたデバイス50がUSBメモリ50Bのようなデバイスであると判定すると、初期値(第2の設定値)を維持している。したがって、電子機器1は、過電流に対する検出精度の低下を防ぐことができる。 On the other hand, a device such as a USB memory does not require a current supply exceeding the upper limit value of the USB standard, and on the contrary, if a threshold value for determining an overcurrent is set high, an overcurrent is generated. It cannot be detected properly, and the detection accuracy for overcurrent decreases. Therefore, when the connection of the LTE dongle is released, the electronic device 1 returns the threshold value from the first setting value to the original low initial value (second setting value). Further, when the electronic device 1 determines that the connected device 50 is a device such as the USB memory 50B, the electronic device 1 maintains an initial value (second set value). Therefore, the electronic device 1 can prevent a decrease in detection accuracy with respect to an overcurrent.
 つまり、電子機器1は、接続されたデバイス50が、インタフェースの規格を超える電流の供給を必要とするデバイスであっても、そのような電流の供給を必要としないデバイスであっても、過電流に対する接続ポート2の保護性能を向上させることができる。 In other words, the electronic device 1 has an overcurrent even if the connected device 50 is a device that requires a current supply exceeding the interface standard or a device that does not require such a current supply. Therefore, the protection performance of the connection port 2 can be improved.
 (3)利点
 以上説明したように、第1の態様に係る電子機器1は、接続ポート2と、電源部3と、通信部42と、制御部41と、を備える。接続ポート2は、デバイス50が接続されるためのポートである。電源部3は、接続ポート2を介してデバイス50に電力を供給する。通信部42は、接続ポート2を介してデバイス50と通信を行う。制御部41は、接続ポート2を通じてデバイス50に流れる電流が所定の閾値を超えたときに、上記電力の供給を停止するように電源部3を制御する。制御部41は、デバイス50が接続ポート2に接続されると、設定処理を実行する。制御部41は、設定処理において、デバイス50から通信部42を介して少なくとも種別情報を含むデバイス情報を取得し、取得した当該種別情報の種別に対応した設定値を上記閾値に設定する。
(3) Advantages As described above, the electronic device 1 according to the first aspect includes the connection port 2, the power supply unit 3, the communication unit 42, and the control unit 41. The connection port 2 is a port to which the device 50 is connected. The power supply unit 3 supplies power to the device 50 via the connection port 2. The communication unit 42 communicates with the device 50 via the connection port 2. The control unit 41 controls the power supply unit 3 so as to stop the supply of power when the current flowing through the device 50 through the connection port 2 exceeds a predetermined threshold. When the device 50 is connected to the connection port 2, the control unit 41 executes setting processing. In the setting process, the control unit 41 acquires device information including at least type information from the device 50 via the communication unit 42, and sets a setting value corresponding to the type of the acquired type information as the threshold value.
 この構成によれば、電子機器1は、過電流に対する接続ポート2の保護性能を向上させることができる。 According to this configuration, the electronic device 1 can improve the protection performance of the connection port 2 against overcurrent.
 第2の態様に係る電子機器1は、第1の態様において、制御部41は、種別情報の種別に基づいて、上記デバイスの種類が特定の無線通信機能を有する第1の種類であると判定したとき、設定値として第1の設定値を、上記閾値に設定することが好ましい。また、制御部41は、種別情報の種別に基づいて、上記種類が第1の種類と異なる第2の種類であると判定したとき、設定値として第2の設定値を、上記閾値に設定することが好ましい。第1の設定値は、第2の設定値よりも大きいことが好ましい。 In the electronic device 1 according to the second aspect, in the first aspect, the control unit 41 determines that the type of the device is the first type having a specific wireless communication function based on the type of the type information. Then, it is preferable to set the first set value as the set value to the threshold value. Further, when the control unit 41 determines that the type is the second type different from the first type based on the type of the type information, the control unit 41 sets the second set value as the set value as the threshold value. It is preferable. The first set value is preferably larger than the second set value.
 この構成によれば、インタフェースの規格を超える電流の供給を必要とするような、特定の無線通信機能を有した第1の種類のデバイス50について、過電流に対する接続ポート2の保護性能を向上させることができる。また、インタフェースの規格を超える電流の供給を必要としないような、特定の無線通信機能を有さない第2の種類のデバイス50についても、過電流に対する接続ポート2の保護性能を向上させることができる。 According to this configuration, the protection performance of the connection port 2 against overcurrent is improved for the first type device 50 having a specific wireless communication function that requires a current supply exceeding the interface standard. be able to. Also, the protection performance of the connection port 2 against overcurrent can be improved for the second type device 50 that does not require a current supply exceeding the interface standard and does not have a specific wireless communication function. it can.
 第3の態様に係る電子機器1として、第2の態様において、制御部41は、第1の種類として判定されたデバイス50と、接続ポート2との接続状態が解除されたとき、第2の設定値を上記閾値に設定することが好ましい。 As the electronic device 1 according to the third aspect, in the second aspect, when the connection state between the device 50 determined as the first type and the connection port 2 is released, the control unit 41 It is preferable to set the set value to the threshold value.
 この構成によれば、電子機器1は、少なくとも2つの設定値(第1の設定値と第2の設定値)を保持するだけでよく、電子機器1内のデータ量を減らすことができる。また、第1の種類のデバイス50が接続されている状態以外では、常時第2の設定値が上記閾値に設定されているため、制御部41にてデバイス50の種類の判定に失敗した場合でも、接続ポート2の保護性能をある程度に確保することができる。 According to this configuration, the electronic device 1 only needs to hold at least two setting values (first setting value and second setting value), and the amount of data in the electronic device 1 can be reduced. Also, except when the first type device 50 is connected, the second set value is always set to the threshold value, so even if the control unit 41 fails to determine the type of the device 50, The protection performance of the connection port 2 can be ensured to some extent.
 第4の態様に係る電子機器1は、第1~第3の態様のいずれかにおいて、更に、複数種類のデバイス50に関する複数の種別情報と複数の設定値とがそれぞれ対応付けされた設定データを予め記憶する記憶部7を備えることが好ましい。この場合、制御部41は、種別情報の種別に対応する設定値を、記憶部7内に記憶される設定データを参照して決定することが好ましい。 In any one of the first to third aspects, the electronic device 1 according to the fourth aspect further includes setting data in which a plurality of types of information regarding a plurality of types of devices 50 and a plurality of setting values are associated with each other. It is preferable to include a storage unit 7 for storing in advance. In this case, it is preferable that the control unit 41 determines a setting value corresponding to the type of the type information with reference to setting data stored in the storage unit 7.
 この構成によれば、種々のデバイス50に対して、より適した閾値を用いて過電流の検出を行うことができ、過電流に対する接続ポート2の保護性能をさらに向上させることができる。 According to this configuration, overcurrent can be detected using a more suitable threshold for various devices 50, and the protection performance of the connection port 2 against overcurrent can be further improved.
 第5の態様に係る電子機器1として、第4の態様において、制御部41は、接続ポート2に接続されたデバイス50から少なくとも1つの設定値に関するデータを取得することが好ましい。そして、制御部41は、取得したデータで記憶部7に記憶される設定データを更新することが好ましい。 As the electronic device 1 according to the fifth aspect, in the fourth aspect, it is preferable that the control unit 41 acquires data relating to at least one set value from the device 50 connected to the connection port 2. And it is preferable that the control part 41 updates the setting data memorize | stored in the memory | storage part 7 with the acquired data.
 この構成によれば、記憶部7の設定データを容易に更新することができ、また制御部41におけるデバイス50の種類の判定精度を高めることができる。 According to this configuration, the setting data in the storage unit 7 can be easily updated, and the determination accuracy of the type of the device 50 in the control unit 41 can be increased.
 第6の態様に係る電子機器1は、第1~第5の態様のいずれかにおいて、接続ポート2を複数備えることが好ましい。この場合、制御部41は、複数の接続ポート2毎に、上記設定処理を実行することが好ましい。 The electronic device 1 according to the sixth aspect preferably includes a plurality of connection ports 2 in any one of the first to fifth aspects. In this case, the control unit 41 preferably executes the setting process for each of the plurality of connection ports 2.
 この構成によれば、接続ポート2が複数設けられている場合であっても、接続ポート単位で過電流に対する保護性能を向上させることができる。 According to this configuration, even when a plurality of connection ports 2 are provided, the protection performance against overcurrent can be improved in connection port units.
 第7の態様に係る電子機器1として、第1~第6の態様のいずれかにおいて、上記デバイス情報は、当該デバイス50自身に対応する設定値を含むことが好ましい。この場合、制御部41は、上記設定処理において、上記デバイスの種類が特定の種類であると判定したとき、デバイス情報に含まれる設定値を、上記閾値に設定することが好ましい。 As the electronic apparatus 1 according to the seventh aspect, in any of the first to sixth aspects, the device information preferably includes a setting value corresponding to the device 50 itself. In this case, when the control unit 41 determines that the device type is a specific type in the setting process, the control unit 41 preferably sets the setting value included in the device information as the threshold value.
 この構成によれば、設定値をデバイス50から直接取得することで、当該デバイス50に対してより適した閾値を用いて過電流の検出を行うことができる。したがって、過電流に対する接続ポート2の保護性能をさらに向上させることができる。 According to this configuration, by directly acquiring the set value from the device 50, it is possible to detect an overcurrent using a threshold value that is more suitable for the device 50. Therefore, the protection performance of the connection port 2 against overcurrent can be further improved.
 第8の態様に係る電子機器1として、第1~第7の態様のいずれかにおいて、接続ポート2はUSBポートであり、デバイス50はUSBデバイスであり、接続ポート2及びデバイス50はUSB2.0に準拠していることが好ましい。 As the electronic apparatus 1 according to the eighth aspect, in any of the first to seventh aspects, the connection port 2 is a USB port, the device 50 is a USB device, and the connection port 2 and the device 50 are USB 2.0. It is preferable to comply with.
 この構成によれば、過電流に対するUSB2.0に準拠したUSBポート(接続ポート2)の保護性能を向上させることができる。 According to this configuration, the protection performance of the USB port (connection port 2) compliant with USB 2.0 against overcurrent can be improved.
 1 電子機器
 2 接続ポート
 3 電源部
 40 監視部
 41 制御部
 42 通信部
 50 デバイス
 7 記憶部
DESCRIPTION OF SYMBOLS 1 Electronic device 2 Connection port 3 Power supply part 40 Monitoring part 41 Control part 42 Communication part 50 Device 7 Memory | storage part

Claims (8)

  1.  デバイスが接続されるための接続ポートと、
     前記接続ポートを介して前記デバイスに電力を供給する電源部と、
     前記接続ポートを介して前記デバイスと通信を行う通信部と、
     前記接続ポートを通じて前記デバイスに流れる電流が所定の閾値を超えたときに、前記電力の供給を停止するように前記電源部を制御する制御部と、を備え、
     前記制御部は、前記デバイスが前記接続ポートに接続されると、前記デバイスから前記通信部を介して少なくとも種別情報を含むデバイス情報を取得し、取得した前記種別情報の種別に対応した設定値を前記閾値に設定する設定処理を実行する
     ことを特徴とする電子機器。
    A connection port for the device to connect,
    A power supply for supplying power to the device via the connection port;
    A communication unit for communicating with the device via the connection port;
    A control unit that controls the power supply unit to stop the supply of power when a current flowing through the connection port through the device exceeds a predetermined threshold; and
    When the device is connected to the connection port, the control unit acquires device information including at least type information from the device via the communication unit, and sets a setting value corresponding to the type of the acquired type information. An electronic device that executes a setting process for setting the threshold value.
  2.  前記制御部は、前記種別情報の種別に基づいて、
      前記デバイスの種類が特定の無線通信機能を有する第1の種類であると判定したとき、前記設定値として第1の設定値を、前記閾値に設定し、
      前記種類が前記第1の種類と異なる第2の種類であると判定したとき、前記設定値として第2の設定値を、前記閾値に設定し、
     前記第1の設定値は、前記第2の設定値よりも大きい
     ことを特徴とする請求項1に記載の電子機器。
    The control unit, based on the type of the type information,
    When it is determined that the type of the device is the first type having a specific wireless communication function, the first set value is set as the set value to the threshold value,
    When it is determined that the type is a second type different from the first type, a second set value is set as the set value to the threshold value,
    The electronic device according to claim 1, wherein the first set value is larger than the second set value.
  3.  前記制御部は、前記第1の種類として判定された前記デバイスと、前記接続ポートとの接続状態が解除されたとき、前記第2の設定値を前記閾値に設定する
     ことを特徴とする請求項2に記載の電子機器。
    The said control part sets the said 2nd setting value to the said threshold value when the connection state of the said device determined as said 1st type and the said connection port is cancelled | released. 2. The electronic device according to 2.
  4.  更に、複数種類のデバイスに関する複数の種別情報と複数の設定値とがそれぞれ対応付けされた設定データを予め記憶する記憶部を備え、
     前記制御部は、前記種別情報の種別に対応する前記設定値を、前記記憶部内に記憶される前記設定データを参照して決定する
     ことを特徴とする請求項1~3のいずれか1項に記載の電子機器。
    Furthermore, a storage unit is provided for storing in advance setting data in which a plurality of types of information related to a plurality of types of devices and a plurality of setting values are associated with each other,
    4. The control unit according to claim 1, wherein the control unit determines the setting value corresponding to the type of the type information with reference to the setting data stored in the storage unit. The electronic device described.
  5.  前記制御部は、前記接続ポートに接続された前記デバイスから少なくとも1つの設定値に関するデータを取得し、取得した前記データで前記記憶部に記憶される前記設定データを更新する
     ことを特徴とする請求項4に記載の電子機器。
    The control unit acquires data related to at least one setting value from the device connected to the connection port, and updates the setting data stored in the storage unit with the acquired data. Item 5. The electronic device according to Item 4.
  6.  前記接続ポートを複数備え、
     前記制御部は、前記複数の接続ポート毎に、前記設定処理を実行する
     ことを特徴とする請求項1~5のいずれか1項に記載の電子機器。
    A plurality of the connection ports;
    6. The electronic apparatus according to claim 1, wherein the control unit executes the setting process for each of the plurality of connection ports.
  7.  前記デバイス情報は、前記デバイス自身に対応する前記設定値を含み、
     前記制御部は、前記設定処理において、前記デバイスの種類が特定の種類であると判定したとき、前記デバイス情報に含まれる前記設定値を、前記閾値に設定する
     ことを特徴とする請求項1~6のいずれか1項に記載の電子機器。
    The device information includes the setting value corresponding to the device itself,
    The control unit sets the setting value included in the device information as the threshold value when it is determined that the device type is a specific type in the setting process. 6. The electronic device according to any one of 6.
  8.  前記接続ポートは、USBポートであり、前記デバイスは、USBデバイスであり、
     前記接続ポート及び前記デバイスは、USB2.0に準拠している
     ことを特徴とする請求項1~7のいずれか1項に記載の電子機器。
    The connection port is a USB port, and the device is a USB device;
    The electronic apparatus according to any one of claims 1 to 7, wherein the connection port and the device comply with USB 2.0.
PCT/JP2017/027199 2016-07-29 2017-07-27 Electronic apparatus WO2018021461A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016-150044 2016-07-29
JP2016150044A JP2018018414A (en) 2016-07-29 2016-07-29 Electronic apparatus

Publications (1)

Publication Number Publication Date
WO2018021461A1 true WO2018021461A1 (en) 2018-02-01

Family

ID=61016224

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/027199 WO2018021461A1 (en) 2016-07-29 2017-07-27 Electronic apparatus

Country Status (2)

Country Link
JP (1) JP2018018414A (en)
WO (1) WO2018021461A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020195258A (en) * 2019-05-30 2020-12-03 株式会社バッファロー Electronic device, power determination method, computer program, and electronic device system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6951017B2 (en) * 2018-12-25 2021-10-20 Necプラットフォームズ株式会社 Log acquisition device, log data acquisition method and log data acquisition program
KR20210034431A (en) 2019-09-20 2021-03-30 삼성전자주식회사 An electronic device supporting connection with external device and power consumption reducing method when using in connection with the external device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008192018A (en) * 2007-02-07 2008-08-21 Seiko Epson Corp Radio adapter for image display device
JP2009176190A (en) * 2008-01-28 2009-08-06 Sony Optiarc Inc Peripheral equipment, peripheral equipment operating method, host equipment, host equipment operating method, and electronic equipment system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008192018A (en) * 2007-02-07 2008-08-21 Seiko Epson Corp Radio adapter for image display device
JP2009176190A (en) * 2008-01-28 2009-08-06 Sony Optiarc Inc Peripheral equipment, peripheral equipment operating method, host equipment, host equipment operating method, and electronic equipment system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020195258A (en) * 2019-05-30 2020-12-03 株式会社バッファロー Electronic device, power determination method, computer program, and electronic device system
JP7189442B2 (en) 2019-05-30 2022-12-14 株式会社バッファロー ELECTRONIC DEVICE, POWER DETERMINATION METHOD, COMPUTER PROGRAM, AND ELECTRONIC DEVICE SYSTEM

Also Published As

Publication number Publication date
JP2018018414A (en) 2018-02-01

Similar Documents

Publication Publication Date Title
US10462884B2 (en) Light fixture as an access point in a communication network
US20160353552A1 (en) System, method, and apparatus for powering intelligent lighting networks
JP6243029B2 (en) Electronic device operation control device
US20120173177A1 (en) Management apparatus and management method for electrical appliances
US10194508B2 (en) System and method for powering and controlling an LED lighting network having one LED per port and controller not connected to internet
WO2018021461A1 (en) Electronic apparatus
JP2010213411A (en) Power management system
JP6742987B2 (en) System and method for controlling power supply
JP2015029248A (en) Apparatus registration device and apparatus registration method
JP2006353005A (en) Home network system
JP6707989B2 (en) Electrical equipment connection tool, set of electrical equipment connection tool and external control device, and remote monitoring management system
KR20120087257A (en) Smart outlet and wireless electric power saving system using the same
JP6851008B2 (en) Equipment management device
JP7246002B2 (en) Control unit and control system
US20170108904A1 (en) Location based electric power management method and system thereof
WO2016057494A1 (en) System, method, and apparatus for powering intelligent lighting networks
KR20230028199A (en) power distribution panel
JP6291902B2 (en) Power measurement apparatus, power measurement system, communication control method, and communication control program
KR20190067431A (en) Adaptor, method of controlling the same and network device
JP2020056744A (en) Smart tap
US10965136B2 (en) Monitoring system with low power usage
TWM548920U (en) Smart control and monitor system for home appliance
SE1400057A1 (en) System for controlling the supply of electrical energy
TWI676896B (en) Smart control and monitor system for home appliance and method of the same
CN105867571A (en) Information processing method and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17834463

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17834463

Country of ref document: EP

Kind code of ref document: A1